-
Type: Spec Change
-
Resolution: Done
-
Priority: Unknown
-
None
-
Component/s: CRUD, Unified Test Runner
-
Needed
Drivers should sync tests in crud/unified and unified-test-format/tests/valid-pass with 44f8310.
Spec tests for DRIVERS-1237 inadvertently added insertedCount to insert one/many result assertions, despite that never being a documented field in the CRUD spec. The field was removed in fc21cb7 (associated with DRIVERS-1237) for insertOne operations but that commit neglected to also remove it for insertMany. Since various language tickets have already been closed, this new ticket will be used to track the remaining changes.
Additionally, this ticket will address instances where $$unsetOrMatches should have been used in test files (e.g. BulkWriteResult reported through BulkWriteException, entire InsertOneResult and InsertManyResult objects). This was originally done in some test files (e.g. poc-session.yml) in e4808b8 (original commit for DRIVERS-709), but missed in subsequent tests.
- split to
-
PYTHON-2794 Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches
- Closed
-
CDRIVER-4051 Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches
- Closed
-
JAVA-4220 Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches
- Closed
-
NODE-3398 Remove insertedCount from insert result assertions and improve usage of $$unsetOrMatches
- Closed
-
PHPLIB-665 Mitigate pain of using field names with dots and dollars
- Closed
-
RUBY-2528 Permit inserting dollar-prefixed or dotted keys
- Closed