CXX-3112 Sync spec tests from CXX-2808 #1245
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sync spec tests to fix test failures on 4.2 sharded tasks. Resolves CXX-3112.
Partially resolves CXX-2808. Not all updated spec tests are synced.
Verified with this patch build.
Details
Updating the C driver from 1.25.0 to 1.28.0 (as part of CXX-2828) resulted test failures on sharded cluster tasks on 4.2.
Example task failure:
CDRIVER-4754 changed behavior for adding a RetryableWriteError in libmongoc. DRIVERS-2802 included follow-up spec test changes:
This PR syncs some tests from DRIVERS-2802 to address the test failure.
Tests synced
Not all tests from DRIVERS-2802 were synced. The following tests are synced from mongodb/specifications@5fc23f4: