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

Update Transactions count test for MongoDB >= 4.0.7

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      GODRIVER-941 Won't Fix
      CXX-1758 Gone away
      MOTOR-327 Works as Designed
      CDRIVER-3075 Fixed 1.15.0
      PHPLIB-420 Done
      CSHARP-2577 Fixed 2.9.0
      PERL-1084 Gone away
      SCALA-514 Done
      JAVA-3260 Fixed 3.11.0
      PYTHON-1802 Duplicate
      NODE-1929 Done
      RUBY-1789 Fixed 2.9.0.rc0
      PYTHON-1801 Fixed 3.8, 3.9
      SWIFT-414 Done
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion GODRIVER-941 Won't Fix CXX-1758 Gone away MOTOR-327 Works as Designed CDRIVER-3075 Fixed 1.15.0 PHPLIB-420 Done CSHARP-2577 Fixed 2.9.0 PERL-1084 Gone away SCALA-514 Done JAVA-3260 Fixed 3.11.0 PYTHON-1802 Duplicate NODE-1929 Done RUBY-1789 Fixed 2.9.0.rc0 PYTHON-1801 Fixed 3.8, 3.9 SWIFT-414 Done

    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

        Activity

          People

            Unassigned Unassigned
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: