Skip to content

Fix failing atlas connectivity specs #2829

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

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

jamis
Copy link
Contributor

@jamis jamis commented Jan 24, 2024

The Atlas connectivity specs were failing when testing the "free tier" atlas URI, because the "ismaster" command wasn't returning the expected results.

Looking at the Go and Python drivers, it looks like they are only testing for the absence of an error when executing these commands; the original ticket (https://jira.mongodb.org/browse/DRIVERS-382) also stipulates that drivers should merely "verify that no error occurred." I've updated the specs so they no longer check for the contents of the result, and only confirm that no error occurred.

@jamis jamis requested a review from comandeo January 24, 2024 19:22
@jamis jamis requested a review from comandeo January 25, 2024 15:06
@jamis jamis merged commit 853c268 into mongodb:master Jan 25, 2024
@jamis jamis deleted the make-atlas-connectivity-specs-more-robust branch January 25, 2024 15:19
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