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

Update test definition in Client-Side encryption tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: CSOT
    • None
    • Not Needed
    • Hide

      Summary of necessary driver changes

      Drivers must update the legacy spec tests files timeoutMS.yml or/and timeoutMS.json and ensure that they pass.

      Commits for syncing spec/prose tests

      https://github.com/mongodb/specifications/pull/1564/files

      Context for other referenced/linked tickets

      Show
      Summary of necessary driver changes Drivers must update the legacy spec tests files timeoutMS.yml or/and timeoutMS.json and ensure that they pass. Commits for syncing spec/prose tests https://github.com/mongodb/specifications/pull/1564/files Context for other referenced/linked tickets
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5490 Backlog
      CXX-2968 Backlog
      CSHARP-4983 Backlog
      GODRIVER-3140 In Progress
      JAVA-5340 Fixed 5.2.0
      NODE-5974 Fixed 6.8.0
      MOTOR-1263 Duplicate
      PYTHON-4240 Fixed 4.9
      PHPLIB-1401 Done
      RUBY-3407 Fixed 2.21.0
      RUST-1862 Won't Do
      $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-5490 Backlog CXX-2968 Backlog CSHARP-4983 Backlog GODRIVER-3140 In Progress JAVA-5340 Fixed 5.2.0 NODE-5974 Fixed 6.8.0 MOTOR-1263 Duplicate PYTHON-4240 Fixed 4.9 PHPLIB-1401 Done RUBY-3407 Fixed 2.21.0 RUST-1862 Won't Do

      Summary

      Recent discussion and observations have confirmed that only one listCollections operation is required in the context of the client-side encryption test scenario, contrary to the current test definition in timeoutMS.yml. This adjustment is based on the understanding of libmongocrypt's caching behavior, which negates the need for a second listCollections operation. Additionally, the internal MongoClient is not configured with auto encryption, and therefore would not produce the listCollections event.

      Motivation

      Who is the affected end user?

      Engineers who implement and test client-side encryption functionality.

      How does this affect the end user?

      Improper testing could result in unnoticed bugs.

      Is this issue urgent?

      No

      Is this ticket only for tests?

      Yes

      Acceptance Criteria

      • Update Test Definition: Revise timeoutMS.yml to specify that only one listCollections operation is expected during the test scenario, removing any requirement for a second operation.

            Assignee:
            slav.babanin@mongodb.com Slav Babanin
            Reporter:
            slav.babanin@mongodb.com Slav Babanin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: