-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
Java Drivers
-
Not Needed
-
None
-
None
-
None
-
None
-
None
-
None
https://jira.mongodb.org/browse/DRIVERS-3313
Summary
Some OpenTelemetry tests do not conform to the Spec, some require specific run requirements:
Â
- https://github.com/mongodb/specifications/blame/master/source/open-telemetry/tests/operation/aggregate.yml#L46 asserts that db.mongodb.cursor_id is unpopulated, but some drivers fill it in because aggregate returns a cursor (it should have been left out anyway since that’s not the focus of this test)
- txNumber is not reported when running against standalone, so it has to be behind txnNumber: { $$unsetOrMatches: 1 }) or the test requirement should be replicaSet/sharded
- The list_collections test expects an empty cursor document, which some drivers don’t populate
- server.type is not part of the spec, but present in some tests
- the usage of comment requires a minServerVersion (same for dropCollection )