Update Transactions count test for MongoDB >= 4.0.7

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      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
      

            Assignee:
            Unassigned
            Reporter:
            Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: