Skip to content

Commit a1f3d64

Browse files
committed
INTPYTHON-640 Add retry for docarray tests
1 parent 4362a88 commit a1f3d64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docarray/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ set +x
3030

3131
# Run tests. Sensitive variables in Evergreen come from Evergeen project: ai-ml-pipeline-testing/
3232
# shellcheck disable=SC2154
33-
MONGODB_URI="$MONGODB_URI" \
34-
MONGODB_DATABASE="docarray_test_db" \
35-
pytest -v tests/index/mongo_atlas
33+
export MONGODB_URI="$MONGODB_URI"
34+
export MONGODB_DATABASE="docarray_test_db"
35+
pytest -v tests/index/mongo_atlas || pytest --lf

0 commit comments

Comments
 (0)