lib: retry longer to allow for slower machines
The end-to-end tests moved to a slower machine recently. When the daily releases are build, the end-to-end all run simultaneously and slow down the machine to a point where it will take more than 30 seconds for a Forgejo instance to start. Be more forgiving and let it retry for a minute. https://code.forgejo.org/forgejo/end-to-end/actions/runs/1857/jobs/6
This commit is contained in:
parent
49e99f95d4
commit
aca70a3e54
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ function dependencies() {
|
|||
function retry() {
|
||||
rm -f $DIR/wait-for.out
|
||||
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
|
||||
success=true
|
||||
break
|
||||
|
|
Loading…
Add table
Reference in a new issue