-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Component/s: Logging
-
None
-
Needed - No Spec Changes
Summary
Add unified spec tests to verify that commitTransaction and abortTransaction commands are logged when command logging is enabled at the debug level.
Motivation
When command logging is enabled at the debug level, all commands sent to the server should generate "Command started" and "Command succeeded" (or "Command failed") log messages. Currently, the command-logging-and-monitoring spec tests do not include coverage for transaction commands (commitTransaction and abortTransaction), which may allow driver implementations to inadvertently omit logging for these commands.
Is this ticket only for tests?
Yes
Acceptance Criteria
Add the following test cases to command-logging-and-monitoring/tests/logging/command.yml (or equivalent):
- "A successful commitTransaction command"
- "A successful abortTransaction command"
- split to
-
CDRIVER-6200 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
CSHARP-5837 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
CXX-3401 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
GODRIVER-3760 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
JAVA-6061 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
NODE-7393 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
PHPLIB-1769 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
PYTHON-5698 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
RUBY-3758 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-
-
RUST-2339 Add unified spec tests for commitTransaction and abortTransaction command logging
-
- Blocked
-