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

Permit legacy transaction tests to run on load-balanced topologies and Atlas Serverless

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • Transactions
    • None
    • Needed
    • Hide

      Sync legacy transaction spec tests with 38e65fc.

      Drivers that do not pin connections on load balancers (e.g. libmongoc, PHP) can consider skipping the tests listed in this comment.

      Show
      Sync legacy transaction spec tests with 38e65fc . Drivers that do not pin connections on load balancers (e.g. libmongoc, PHP) can consider skipping the tests listed in this comment .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4717 Fixed 1.26.0
      CXX-2744 Backlog
      CSHARP-4780 Backlog
      GODRIVER-2971 Backlog
      JAVA-5133 Backlog
      NODE-5608 Scheduled
      MOTOR-1186 Duplicate
      PYTHON-3947 Blocked
      PHPLIB-1228 Fixed 1.17.0
      RUBY-3325 Backlog
      RUST-1756 Backlog
      $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 CDRIVER-4717 Fixed 1.26.0 CXX-2744 Backlog CSHARP-4780 Backlog GODRIVER-2971 Backlog JAVA-5133 Backlog NODE-5608 Scheduled MOTOR-1186 Duplicate PYTHON-3947 Blocked PHPLIB-1228 Fixed 1.17.0 RUBY-3325 Backlog RUST-1756 Backlog

    Description

      Summary

      In d2de776 for DRIVERS-720, various legacy spec tests were updated to incorporate "load-balanced" into their topology runOn requirements. The transactions spec was notably omitted. As a result, a segment of legacy spec tests are never run on Atlas Serverless, which the driver sees as a load balanced topology (see 1b471f1 and DRIVERS-1967).

      Note that the serverless runOn requirement does not come into play here, as that's generally used with "forbid" to prohibit running tests. Even if a test specified "require" or "allow" (the default) for serverless, that alone would not be sufficient to run the test if topology was also specified and omitted "load-balanced".

      Motivation

      Who is the affected end user?

      Drivers running legacy transaction specs tests.

      How does this affect the end user?

      Legacy transaction spec tests have no test coverage on load-balanced toplogies (including Atlas Serverless).

      How likely is it that this problem or use case will occur?

      Likely applies to all drivers, since the issue is in the spec tests themselves.

      Is this issue urgent?

      No, as the issue dates back over a year and was only recently discovered by the Java team.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Attachments

        Activity

          People

            jmikola@mongodb.com Jeremy Mikola
            jmikola@mongodb.com Jeremy Mikola
            Jeffrey Yemin Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: