Skip to content

Commit

Permalink
change max_attempts on build.sh
Browse files Browse the repository at this point in the history
Signed-off-by: FedeNQ <[email protected]>
  • Loading branch information
FedeNQ committed Jul 5, 2023
1 parent 7da785d commit 7461a77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion it/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ fingerprint () {
}

wait () {
max_attempts=400
max_attempts=20

for ((attempt = 1; attempt <= max_attempts; attempt++)); do
if docker compose exec "$1" test -s "$2"; then
break
else
sleep 1
fi
done
}
Expand Down

0 comments on commit 7461a77

Please sign in to comment.