Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-628

Update Transactions count test for MongoDB >= 4.0.7

    XMLWordPrintable

    Details

    • Type: Task
    • Status: In Progress
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • # Replies:
      1
    • Last comment by Customer:
      false
    • SERVER fixVersion:
      4.0

      Description

      Drivers need to resync the transactions tests in order for them to pass on 4.0.7. The tests were updated in this commit: https://github.com/mongodb/specifications/commit/b3d819750fd52c2dc955a0a81d403a4aa31b19b4

      Note these tests depend on the runOn directive from DRIVERS-623. If you don't want to implement runOn support and you're not worried about testing against 4.0.0 or 4.0.1 you can just replace this line in the failing count test from reads.json/reads.yml:

      -errorContains: "Cannot run 'count' in a multi-document transaction"
      +errorCodeName: OperationNotSupportedInTransaction
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                shane.harvey Shane Harvey
                Participants:
                Last commenter:
                Shane Harvey
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since reply:
                  35 weeks, 2 days ago
                  Date of 1st Reply: