[GODRIVER-2817] Resolve flakey "Snapshot Session" failures in CI Created: 19/Apr/23  Updated: 13/Jul/23

Status: Backlog
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Preston Vasquez Assignee: Preston Vasquez
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by GODRIVER-2843 Fix failing "snapshot-sessions.json" ... Closed

 Description   

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.


Generated at Thu Feb 08 08:39:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.