forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'apache/main' into alamb/properties_fuzz
- Loading branch information
Showing
215 changed files
with
9,202 additions
and
4,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
x() { | ||
echo "+ $*" >&2 | ||
"$@" | ||
} | ||
|
||
max_retry_time_seconds=$(( 3 * 60 )) | ||
retry_delay_seconds=10 | ||
|
||
END=$(( $(date +%s) + ${max_retry_time_seconds} )) | ||
|
||
while (( $(date +%s) < $END )); do | ||
x "$@" && exit 0 | ||
sleep "${retry_delay_seconds}" | ||
done | ||
|
||
echo "$0: retrying [$*] timed out" >&2 | ||
exit 1 |
Oops, something went wrong.