We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded8625 commit 2865c88Copy full SHA for 2865c88
.evergreen/execute-tests.sh
@@ -18,20 +18,20 @@ ATTEMPT=1
18
EXIT_CODE=0
19
set +e
20
21
-while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do
+while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do
22
bash ${ROOT_DIR}/${DIR}/run.sh
23
-
+
24
EXIT_CODE=$?
25
26
- if [ $EXIT_CODE -eq 0 ]; then
27
- break
28
- else
29
- echo "Tests failed on attempt $ATTEMPT of $MAX_ATTEMPTS..."
30
- ((ATTEMPT++))
31
- fi
32
-done
+ if [ $EXIT_CODE -eq 0 ]; then
+ break
+ else
+ echo "Tests failed on attempt $ATTEMPT of $MAX_ATTEMPTS..."
+ ((ATTEMPT++))
+ fi
+done
33
34
-if [ $EXIT_CODE -ne 0 ]; then
+if [ $EXIT_CODE -ne 0 ]; then
35
echo "Tests failed after $MAX_ATTEMPTS attempts."
36
-fi
+fi
37
exit $EXIT_CODE
0 commit comments