Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2817

Resolve flakey "Snapshot Session" failures in CI

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      The following Session Snapshot failures are occurring in the EG CI:

      [2023/04/19 21:52:15.498]     mongotest.go:146: skipping due to environmental constraints: no matching RunOnBlock; comparison errors: [server version "7.1.0-alpha-191-ga756c01" is higher than max version "4.4.99"] 

      Here is an example.

      From this slack thread, it appears that we areĀ 

      incorrectly waiting for the newly inserted document to become visible. Before 7.0 this wasn't a problem presumably because the server snapshotted the document faster than motor could read. The extra latency in 7.0 was long enough for the test to start failing.

      MOTOR (MOTOR-1098) and CXX (PR #9522 ) both had this problem in their documentation examples. The Go Driver is experiencing flakiness in the unified spec tests, not the documentation examples.

      For more context, see slack thread here.

            Assignee:
            preston.vasquez@mongodb.com Preston Vasquez
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: