Skip to content

Commit

Permalink
Increase some timeouts in integration tests (#3203)
Browse files Browse the repository at this point in the history
They are timing out regularly in GCB waiting for the log server to start. We can see from the output that the server starts shortly after, but these setup hooks have already failed by then and the whole harness is being torn down. Bumping these to take potentially 45s instead of 12s should give us plenty of time.
  • Loading branch information
mhutchinson authored Nov 9, 2023
1 parent 5f424ec commit 7dee527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ wait_for_server_startup() {
# as the test will fail if the server is really not up.
local port=$1
set +e
wget -q --spider --retry-connrefused --waitretry=1 -t 10 localhost:${port}
wget -q --spider --retry-connrefused --waitretry=2 -t 20 localhost:${port}
# Wait a bit more to give it a chance to become actually available, e.g. if CI
# environment is slow.
sleep 2
sleep 5
wget -q --spider -t 1 localhost:${port}
local rc=$?
set -e
Expand Down

0 comments on commit 7dee527

Please sign in to comment.