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

DRIVERS-1555: Test that isClientError considers network errors #1720

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Nov 4, 2024

https://jira.mongodb.org/browse/DRIVERS-1555

Please complete the following before merging:

  • Test changes in at least one language driver.
  • Test these changes against all server versions and topologies

POC: mongodb/mongo-php-library#1520

@jmikola jmikola requested review from a team as code owners November 4, 2024 15:28
@jmikola jmikola requested review from alcaeus, aditi-khare-mongoDB and nbbeeken and removed request for a team November 4, 2024 15:28
jmikola added a commit to jmikola/mongo-php-library that referenced this pull request Nov 4, 2024
commandName: ping
command: { ping: 1 }
expectError:
isClientError: true
Copy link
Member Author

Choose a reason for hiding this comment

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

Note: per DRIVERS-1555, at least the Go driver will require test runner changes to pass this assertion.

Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

The Node driver passes these tests as is. LGTM

@jmikola
Copy link
Member Author

jmikola commented Nov 4, 2024

Likewise for the PHPLIB POC. I'll merge.

@jmikola jmikola merged commit 47d1822 into mongodb:master Nov 4, 2024
5 checks passed
@jmikola jmikola deleted the drivers-1555 branch November 4, 2024 16:26
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