Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GODRIVER-2852 Use a mock connection for all CMAP spec tests. #1321

Merged

Conversation

matthewdale
Copy link
Collaborator

@matthewdale matthewdale commented Jul 15, 2023

GODRIVER-2852

Summary

Use a mock connection for all CMAP spec tests.

Background & Motivation

Some CMAP spec tests currently use a TCP listener, but does not accept any connections or read or write data. As a result, the behavior of the tests depends on how the "zombie" TCP listener behaves, which may be inconsistent. Use a mock connection in all cases to make the tests more reliable.

@matthewdale matthewdale force-pushed the godriver2852-fix-pool-create-test branch from 38d152c to 6de4ff1 Compare August 18, 2023 02:16
@matthewdale matthewdale marked this pull request as ready for review August 18, 2023 02:21
@matthewdale matthewdale requested a review from a team as a code owner August 18, 2023 02:21
@matthewdale matthewdale requested review from prestonvasquez and removed request for a team August 18, 2023 02:21
@matthewdale matthewdale merged commit 67f257a into mongodb:master Aug 24, 2023
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.

2 participants