Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-2687

Flaky test: TestResyncManagerDCPRunTwice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.0
    • 3.1.0
    • SyncGateway
    • Security Level: Public
    • CBG Sprint 114, CBG Sprint 115
    • 3

    Description

       

      Flaked at https://jenkins.sgwdev.com/job/SyncGateway-Integration/1404/

      === RUN   TestResyncManagerDCPRunTwice
          util_testing.go:61: Tests directly using TestBucket should use GetSingleDataStore accessor!
      2023-01-18T12:13:37.427Z [INF] Created background task: "CleanAgedItems" with interval 1m0s
          util_testing.go:68: Tests directly using TestBucket should use GetNamedDataStore accessor!
      2023-01-18T12:13:37.427Z [INF] Created background task: "InsertPendingEntries" with interval 2.5s
      2023-01-18T12:13:37.427Z [INF] Created background task: "CleanSkippedSequenceQueue" with interval 30m0s
      2023-01-18T12:13:37.517Z [INF] Setting max_concurrent_query_ops to 256 based on query node count (1)
      2023-01-18T12:13:37.557Z [INF] db:db t:TestResyncManagerDCPRunTwice Using metadata purge interval of 3.00 days for tombstone compaction.
      2023-01-18T12:13:37.869Z [INF] Setting max_concurrent_query_ops to 256 based on query node count (1)
      2023-01-18T12:13:38.028Z [INF] db:db t:TestResyncManagerDCPRunTwice Resync: Starting new resync run with resync ID: "e58cd7e4-6fd2-4cc9-9242-20238f79733f"
      2023-01-18T12:13:38.029Z [INF] db:db t:TestResyncManagerDCPRunTwice [Resync: e58cd7e4-6fd2-4cc9-9242-20238f79733f] Starting DCP feed "sg-3.1:resync:e58cd7e4-6fd2-4cc9-9242-20238f79733f" for resync
      2023-01-18T12:13:38.555Z [INF] db:db t:TestResyncManagerDCPRunTwice [Resync: e58cd7e4-6fd2-4cc9-9242-20238f79733f] Finished running sync function. 0/1016 docs changed
          background_mgr_resync_dcp_test.go:307
                  Error Trace:    /home/ec2-user/workspace/SyncGateway-Integration/db/background_mgr_resync_dcp_test.go:307
                  Error:          Not equal: 
                                  expected: 1000
                                  actual  : 1016
                  Test:           TestResyncManagerDCPRunTwice
      --- FAIL: TestResyncManagerDCPRunTwice (1.30s) 

       

       

      Attachments

        Issue Links

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

          Activity

            People

              tor.colvin Tor Colvin
              mohammed.madi Mohammed Madi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty