Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4264

Integration tests for observeSensitiveCommands

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.0
    • Test Coverage
    • Hide

      DRIVERS-1868:
      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
      DRIVERS-1868 : 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.
    • Not Needed

    Description

      Driver Changes: 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.


      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.

      Attachments

        Issue Links

          Activity

            People

              jeff.yemin@mongodb.com Jeffrey Yemin
              backlog-server-pm Backlog - Core Eng Program Management Team
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: