Skip to content

Commit

Permalink
Fix retry logic (ray-project#37842)
Browse files Browse the repository at this point in the history
Signed-off-by: can <[email protected]>
Signed-off-by: NripeshN <[email protected]>
  • Loading branch information
can-anyscale authored and NripeshN committed Aug 15, 2023
1 parent 083228b commit 3cea10b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/run_release_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ else
echo "RELEASE MANAGER: This could be an error in the test. Please REVIEW THE LOGS and ping the test owner."
fi

if [[ "$RUNTIME" -le "$BUILDKITE_TIME_LIMIT_FOR_RETRY" ]]; then
if [[ "$EXIT_CODE" -ne 0 && "$RUNTIME" -le "$BUILDKITE_TIME_LIMIT_FOR_RETRY" ]]; then
exit "$BUILDKITE_RETRY_CODE"
else
exit "$EXIT_CODE"
Expand Down

0 comments on commit 3cea10b

Please sign in to comment.