[CDRIVER-3787] Ensure retryable writes testing checks for absence/presence of error labels Created: 02/Sep/20 Updated: 27/Oct/23 Resolved: 18/Sep/20 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Backlog - Core Eng Program Management Team | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
See DRIVERS-1354 for updated details. |
| Comments |
| Comment by Kevin Albertson [ 18/Sep/20 ] |
|
I verified that there is no work to be done here. check_result in json-test-operations.c checks for the error label assertions in both an individual "result" (per transactions test runner) as well as "outcome.result" field (per retryable writes test runner). To be sure, I ran test-libmongoc with /retryable_writes/deleteOne-errorLabels and /retryable_writes/deleteOne-serverErrors. I flipped errorLabelsOmit and errorLabelsContain to ensure the tests failed. |