[CXX-2325] Integration tests for observeSensitiveCommands Created: 26/Jul/21  Updated: 27/Sep/21  Resolved: 06/Aug/21

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Colby Pike
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-1868 Integration tests for observeSensitiv... Closed
Upstream Changes Summary:

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.


 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.



 Comments   
Comment by Githook User [ 06/Aug/21 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: Pull and fix for observerSensitiveCommands.json (#815)

Validates that the test driver itself is respecting
observeSensitiveCommands properly.
Closes CXX-2325.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/2fdfd62c60370f660c935f82c1f67b7d4b26d9ab

Generated at Wed Feb 07 22:05:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.