The CRUD spec runner is not properly checking the `errorLabelContains` and `errorLabelOmits` fields in some (maybe all?) cases.
As an example, in `spec/spec_tests/data/retryable_writes/insertOne-serverErrors.yml`, change the error on line 452 and run the tests. Observe that none of the tests fail.
I believe that part of the problem is that, in the CRUD spec test verifier, the error labels are only checked when the actual result is a Hash, but they should be checking when the result is an error. (This is just my guess and I would have to look into it further.)
- is fixed by
-
RUBY-3409 Convert CRUD v1 spec tests to unified test format
- Backlog