[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:
Depends
is depended on by CXX-2101 Ensure retryable writes testing check... Closed

 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.

Generated at Wed Feb 07 21:19:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.