Merge pull request 'lib: retry longer to allow for slower machines' (#321) from earl-warren/end-to-end:wip-wait into main

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/321
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
This commit is contained in:
earl-warren 2024-11-10 08:29:18 +00:00
commit 946586b807

View file

@ -73,7 +73,7 @@ function dependencies() {
function retry() { function retry() {
rm -f $DIR/wait-for.out rm -f $DIR/wait-for.out
success=false success=false
for delay in 1 1 5 5 15; do for delay in 1 1 5 5 15 15 15; do
if "$@" >>$DIR/wait-for.out 2>&1; then if "$@" >>$DIR/wait-for.out 2>&1; then
success=true success=true
break break