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

Integration tests for observeSensitiveCommands

    • Needed
    • Hide

      Sync valid-pass tests for the unified test format to mongodb/specifications@6847048. Also note that some additional clarifications were added to the spec itself concerning implementation of observeSensitiveEvents (originally introduced in DRIVERS-1653); however, the behavior of the syntax has not been changed.

      Show
      Sync valid-pass tests for the unified test format to mongodb/specifications@6847048 . Also note that some additional clarifications were added to the spec itself concerning implementation of observeSensitiveEvents (originally introduced in DRIVERS-1653); however, the behavior of the syntax has not been changed.
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4104 Done
      CXX-2325 Done
      CSHARP-3769 Duplicate
      GODRIVER-2107 Done
      JAVA-4264 Fixed 4.4.0
      NODE-3494 Fixed 6.4.0
      MOTOR-797 Duplicate
      PYTHON-2842 Fixed 3.12.1, 4.0
      PHPLIB-703 Fixed 1.10.0
      RUBY-2752 Fixed 2.19.0
      RUST-944 Fixed 2.0.0-beta.3
      SWIFT-1288 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-4104 Done CXX-2325 Done CSHARP-3769 Duplicate GODRIVER-2107 Done JAVA-4264 Fixed 4.4.0 NODE-3494 Fixed 6.4.0 MOTOR-797 Duplicate PYTHON-2842 Fixed 3.12.1, 4.0 PHPLIB-703 Fixed 1.10.0 RUBY-2752 Fixed 2.19.0 RUST-944 Fixed 2.0.0-beta.3 SWIFT-1288 Won't Do

      Summary

      DRIVERS-1653 introduced observeSensitiveCommands to the unified test runner (schema version 1.5); however, it did not include integration tests for the new syntax. The test cases pertaining to sensitive command redaction are not sufficient to verify that drivers have implemented the new syntax completely. This issue will add integration tests to do so.

      Motivation

      Who is the affected end user?

      Drivers.

      How does this affect the end user?

      Does not affect the end user.

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

      It's quite possible that observeSensitiveCommands can be implemented incorrectly if drivers are only using the redaction tests in DRIVERS-1653 to verify their implementations.

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

      The risk is an incorrect test runner implementation.

      Is this issue urgent?

      This should be done alongside DRIVERS-1653, but individual drivers can make that call.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Only tests.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: