[JAVA-4264] Integration tests for observeSensitiveCommands Created: 26/Jul/21  Updated: 28/Oct/23  Resolved: 24/Aug/21

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: 4.4.0

Type: Improvement Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: spec-compliance
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.

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



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

Author:

{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}

Message: Support observeSensitiveCommands config in unified test runner (#770)

JAVA-4264
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/4b1ab579cc06d0620d5015d5e3f6b4317db4ece0

Generated at Thu Feb 08 09:01:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.