[CDRIVER-3790] Specify error label in retryable writes test Created: 03/Sep/20 Updated: 13/Dec/22 Resolved: 13/Dec/22 |
|
| 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: | Ezra Chung |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
See DRIVERS-1356 for updated details. |
| Comments |
| Comment by Ezra Chung [ 13/Dec/22 ] |
|
Resolved by |
| Comment by Jeremy Mikola [ 15/Sep/20 ] |
|
Note: libmongoc may require additional changes beyond syncing spec tests, per this comment in DRIVERS-1396. mongoc_error_has_label only checks the singular writeConcernError field, but bulk writes always report an array of writeConcernErrors. Even though this test uses insertOne, libmongoc uses the same result format as bulk writes per the insert_one docs). |