Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-214

Utilize CouchbaseMock time travel for faster testing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.4
    • Component/s: library
    • Labels:
      None

      Description

      The Go SDK uses CouchbaseMock for all of its testing.  There are a few time-specific tests (expiry and touch) which cause testing to take longer than they otherwise would due to needing to sleep wait.  The mock supports time travelling to reduce the need for these kinds of waits.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.0.0-3507 contains gocbcore commit 87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4 with commit message:
          GOCBC-214: Replace testing sleeps with time-travel.
          https://github.com/couchbase/gocbcore/commit/87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4

          Show
          build-team Couchbase Build Team added a comment - Build 5.0.0-3507 contains gocbcore commit 87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4 with commit message: GOCBC-214 : Replace testing sleeps with time-travel. https://github.com/couchbase/gocbcore/commit/87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4
          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.0.1-4671 contains gocbcore commit 87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4 with commit message:
          GOCBC-214: Replace testing sleeps with time-travel.
          https://github.com/couchbase/gocbcore/commit/87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4

          Show
          build-team Couchbase Build Team added a comment - Build 5.0.1-4671 contains gocbcore commit 87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4 with commit message: GOCBC-214 : Replace testing sleeps with time-travel. https://github.com/couchbase/gocbcore/commit/87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4
          Hide
          build-team Couchbase Build Team added a comment -

          Build 5.1.0-1448 contains gocbcore commit 87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4 with commit message:
          GOCBC-214: Replace testing sleeps with time-travel.
          https://github.com/couchbase/gocbcore/commit/87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4

          Show
          build-team Couchbase Build Team added a comment - Build 5.1.0-1448 contains gocbcore commit 87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4 with commit message: GOCBC-214 : Replace testing sleeps with time-travel. https://github.com/couchbase/gocbcore/commit/87fd8b938e0e4b7f77cf86f9c2e9f5ade80a32f4

            People

            • Assignee:
              brett19 Brett Lawson
              Reporter:
              brett19 Brett Lawson
            • 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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.