Skip to content

Add tests for missing URI options #1801

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link

Add tests for missing URI options

Add tests for the following URI options that were missing in the existing test suite:

  1. appname: Added tests for valid and empty values
  2. maxStalenessSeconds: Added tests for valid values, minimum value (-1), and invalid values
  3. readPreference: Added tests for all valid modes and invalid values
  4. readPreferenceTags: Added tests for single and multiple tag sets
  5. replicaSet: Added tests for valid values
  6. retryReads: Added tests for true/false values and invalid values
  7. retryWrites: Added tests for true/false values and invalid values
  8. waitQueueTimeoutMS: Added tests for valid values and invalid values
  9. timeoutMS: Added additional tests including with SRV URIs

Each test follows the format described in the URI options tests README and matches the style of existing test files.

Link to Devin run: https://app.devin.ai/sessions/8a268de542e646cca085393b19ca74fe
Requested by: james.kovacs@mongodb.com

Co-Authored-By: james.kovacs@mongodb.com <jkovacs@post.harvard.edu>
@devin-ai-integration devin-ai-integration bot requested a review from a team as a code owner May 12, 2025 20:11
@devin-ai-integration devin-ai-integration bot requested review from JamesKovacs and removed request for a team May 12, 2025 20:11
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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.

0 participants