-
Type: Task
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
CRUD for bulkWrite tests should validate the expected result of a BulkWriteError. Right now we just validate that the bulkWrite failed as expected and ignore the "outcome.result" field when "outcome.error" is set.
One example is "BulkWrite continue-on-error behavior with unordered (preexisting duplicate key)".
Note that in some cases (retryable write errors for example) pymongo will raise a non-BulkWriteError exception. In those cases we cannot check the result field.
- duplicates
-
PYTHON-4242 Convert retryable writes spec tests to unified test format
- Closed