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

Create CSOT Legacy Timeout Analogues and Compatibility Field

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • CSOT
    • None
    • Needed

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: