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

[CBM] Reduce sleep usage in unit testing

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Trivial
    • 7.1.0
    • 7.1.0
    • tools
    • 1

    Description

      What's the issue?
      We have a few tests which use sleeps, most of which are a very short period of time, however, this isn't the case for our stat collection testing.

      This functionality now relies on our backwards compatible 'GetDuration' environment variable helper, which allows users to supply non-integer multiple of second values i.e. 50ms.

      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:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty