[DRIVERS-2446] Add test for timeoutMS without retryableReads/Writes Created: 16/Sep/22  Updated: 28/Sep/23

Status: Backlog
Project: Drivers
Component/s: Unified Test Runner
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Benji Rewis (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Driver Changes: Needed

 Description   

Summary

We have tests that verify that when timeoutMS is set to a non-zero value, operations can retry multiple times if retryWrites and retryReads are enabled. We should add tests to ensure that even if timeoutMS is set to a non-zero value, operations will not retry if retryWrites and/or retryReads are disabled.

Motivation

Who is the affected end user?

Eventual users of client side operations timeout.

How does this affect the end user?

Lack of test coverage could imply an inability to stop retrying as many times as possible with timeoutMS.

How likely is it that this problem or use case will occur?

Almost implemented un-escapable retrying in the Go driver (cannot be turned off with retryReads or retryWrites) without these tests.

If the problem does occur, what are the consequences and how severe are they?

Unexpected behavior.

Is this issue urgent?

No.

Is this ticket required by a downstream team?

No.

Is this ticket only for tests?

Should be.


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