Skip to content

DRIVERS-3659 Specify that failpoints in unified tests must not be con… - #2001

Merged
NoahStapp merged 3 commits into
mongodb:masterfrom
NoahStapp:DRIVERS-3659
Nov 9, 2026
Merged

NoahStapp merged 3 commits into
mongodb:masterfrom
NoahStapp:DRIVERS-3659

Conversation

@NoahStapp

@NoahStapp NoahStapp commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

…figured through clients with timeout options.

The test fixed in this PR is also the only one the violates the new requirement.

Please complete the following before merging:

  • Is the relevant DRIVERS ticket in the PR title?
  • Update changelog.
  • 1st implementation completed and tests pass. Python.
  • 2nd implementation completed and tests pass. C#.
  • Test these changes against all server versions and topologies (including standalone, replica set, and sharded
    clusters).

…figured through clients with timeout options
@NoahStapp
NoahStapp requested review from isabelatkinson and removed request for isabelatkinson October 29, 2026 15:32
lead to unpredictable behavior if different servers were selected for configuring the fail point and executing
subsequent operations.

When configuring a fail point, tests MUST NOT use a client entity that specifies timeout options such as `timeoutMS`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid adding a new reference to CSOT via the timeoutMS example?

@sanych-sun sanych-sun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM + here is CSharp patch to validate the changes.

@NoahStapp
NoahStapp requested a review from jyemin November 6, 2026 17:11
@NoahStapp
NoahStapp marked this pull request as ready for review November 6, 2026 17:13
@NoahStapp
NoahStapp requested review from a team as code owners November 6, 2026 17:13
@NoahStapp
NoahStapp requested review from mdb-ad and stIncMale November 6, 2026 17:13
@NoahStapp
NoahStapp removed the request for review from stIncMale November 6, 2026 17:22
@NoahStapp
NoahStapp merged commit 94ab731 into mongodb:master Nov 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants