Skip to content

INTPYTHON-640 Add retry for docarray tests #80

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
Jun 16, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Jun 16, 2025

@blink1073 blink1073 requested a review from caseyclements June 16, 2025 16:54
Copy link
Collaborator

@caseyclements caseyclements left a comment

Choose a reason for hiding this comment

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

LGTM

pytest -v tests/index/mongo_atlas
export MONGODB_URI="$MONGODB_URI"
export MONGODB_DATABASE="docarray_test_db"
pytest -v tests/index/mongo_atlas || pytest --lf
Copy link
Collaborator

Choose a reason for hiding this comment

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

Very convenient way to run flaky tests. A little broad, but doesn't introduce any dependency. In the docarray case, I'm totally cool with this.

@blink1073 blink1073 merged commit 5732422 into mongodb-labs:main Jun 16, 2025
14 checks passed
@blink1073 blink1073 deleted the INTPYTHON-640 branch June 16, 2025 17:17
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