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

Fix failing "snapshot-sessions.json" unified spec tests

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Unknown Unknown
    • None
    • None
    • Sessions
    • None
    • Hide

      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?

      Show
      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: