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

Create CSOT Legacy Timeout Analogues and Compatibility Field

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CSOT
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5609 Blocked
      CXX-3050 Blocked
      CSHARP-5159 Blocked
      GODRIVER-3253 Blocked
      JAVA-5508 Blocked
      NODE-6229 Blocked
      MOTOR-1331 Blocked
      PYTHON-4511 Blocked
      PHPLIB-1481 Blocked
      RUBY-3499 Blocked
      RUST-1979 Blocked
      $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-5609 Blocked CXX-3050 Blocked CSHARP-5159 Blocked GODRIVER-3253 Blocked JAVA-5508 Blocked NODE-6229 Blocked MOTOR-1331 Blocked PYTHON-4511 Blocked PHPLIB-1481 Blocked RUBY-3499 Blocked RUST-1979 Blocked

      Summary

      Drivers releasing a major version may opt to deprecate all legacy timeouts. This will result in legacy and unified tests listed here to fail.

      Motivation

      Who is the affected end user?

      Drivers teams who are removing legacy timeouts in a major version.

      How does this affect the end user?

      NA

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

      100% likely during legacy timeout removal

      If the problem does occur, what are the consequences and how severe are they?

      Potentially lowers test coverage

      Is this issue urgent?

      Not urgent

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Yes

      Acceptance Criteria

      1. Add CSOT analogues for unified tests defined here in specifications/source/client-side-operation-timeout/tests.

      2. Bump the unified-test-format schema version to include a definitions.compatibilty field with the following structure:

      "compatibilty": {
          "type": "array",
           "minItems": 0,
           "items": {
               "type": "string"
             }
      },
      

      compatibility should contain a list of reasons that a driver can chose to skip the test. In the specific use-case required by this ticket, drivers that no longer support legacy timeout options should be able to skip the compatibility requirement "legacy-timeout". It is currently unclear whether or not this field should be enumerated, as there is currently only one use case and this UST requirement has yet to come up in DBX.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            preston.vasquez@mongodb.com Preston Vasquez
            Shane Harvey Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: