[GODRIVER-2843] Fix failing "snapshot-sessions.json" unified spec tests Created: 12/May/23  Updated: 15/May/23  Resolved: 15/May/23

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

Type: Bug Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates GODRIVER-2817 Resolve flakey "Snapshot Session" fai... Backlog
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

The following tests fail frequently on Evergreen CI:

TestUnifiedSpec/sessions/snapshot-sessions.json/Find_operation_with_snapshot
 
unified_spec_runner.go:134: error running operation "find" at index 0: result verification failed: comparison error at top-level: expected array length 1, got 0

TestUnifiedSpec/sessions/snapshot-sessions.json/Write_commands_with_snapshot_session_do_not_affect_snapshot_reads
 
unified_spec_runner.go:134: error running operation "find" at index 3: result verification failed: comparison error at key "0.x": expected numeric value 11, got 12

See an example test run here.

Definition of done:

  • All snapshot-sessions.json unified spec tests pass reliably on Evergreen CI.
  • Remove any skipped unified spec tests tagged with this ticket.

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