Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-54734

[CV] [TC] Flaky unit test case (rate limit)

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • master
    • master
    • tools-common
    • None

    Description

      What's the issue?
      We've hit this a few times in TC unit testing in CV.

          ratelimit_test.go:58: 
              	Error Trace:	/home/couchbase/jenkins/workspace/tools-common.linux_master/source/tools-common/ratelimit/ratelimit_test.go:58
              	Error:      	"2022-12-01 18:12:30.888159882 +0000 UTC m=+0.915288921" is not greater than "2022-12-01 18:12:30.890926573 +0000 UTC m=+0.918055320"
              	Test:       	TestRateLimitedReader/CanDoMoreThanBurst
      

      What's the fix?
      We should disable the test, or make it more consistent.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            james.lee James Lee
            james.lee James Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty