Skip to content

Commit

Permalink
wait longer
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <github@ysh.us>
  • Loading branch information
yurishkuro committed May 10, 2022
1 parent 3f433fd commit 77adeed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/es-integration-test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

PS4='T$(date "+%H:%M:%S") '
set -euxf -o pipefail

usage() {
Expand Down Expand Up @@ -68,7 +69,7 @@ wait_for_it() {
''%{http_code}''
)
local counter=0
while [[ "$(curl ${params[@]} ${url})" != "200" && ${counter} -le 30 ]]; do
while [[ "$(curl ${params[@]} ${url})" != "200" && ${counter} -le 60 ]]; do
sleep 2
counter=$((counter+1))
echo "waiting for ${url} to be up..."
Expand Down

0 comments on commit 77adeed

Please # to comment.