[DRIVERS-2146] Add retryable writes spec test that retryWrites=False fails and does not retry Created: 13/Mar/19  Updated: 31/Mar/22

Status: Backlog
Project: Drivers
Component/s: Retryability
Fix Version/s: None

Type: Spec Change Priority: Minor - P4
Reporter: Shane Harvey Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Driver Changes: Needed

 Description   

The retryable writes spec should test that a client created with retryWrites=False does not retry writes.

This was noticed while reviewing WRITING-3546. Me:

Is there any retryableWrites test that a write fails and does not retry after one retryable error when retryWrites=False?

Jeremy:

I don't believe there were any tests for that behavior previously, as all tests that I see include clientOptions for retryWrites=true. I don't think this needs to go into this CR, but perhaps make a ticket to add a test for that down the line.


Generated at Thu Feb 08 08:24:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.