From f41422bafe9e4ea938874dc7c63f806241857ae5 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Wed, 23 Aug 2017 18:43:32 +0200 Subject: [PATCH] build: shorter wait delay for tunnels Updates the wait delay for Browserstack and Saucelabs from 60 seconds to 30 seconds. Since the wait delay is now pretty short, a second retry can be also executed if necessary. --- scripts/browserstack/wait-tunnel.sh | 2 +- scripts/ci/sources/tunnel.sh | 2 +- scripts/saucelabs/wait-tunnel.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/browserstack/wait-tunnel.sh b/scripts/browserstack/wait-tunnel.sh index 537f4f0b5aa2..6b1aaa112bdc 100755 --- a/scripts/browserstack/wait-tunnel.sh +++ b/scripts/browserstack/wait-tunnel.sh @@ -1,7 +1,7 @@ #!/bin/bash TUNNEL_LOG="$LOGS_DIR/browserstack-tunnel.log" -WAIT_DELAY=60 +WAIT_DELAY=30 # Method that prints the logfile output of the browserstack tunnel. printLog() { diff --git a/scripts/ci/sources/tunnel.sh b/scripts/ci/sources/tunnel.sh index 04ada15aa177..adaaa9c18b2c 100644 --- a/scripts/ci/sources/tunnel.sh +++ b/scripts/ci/sources/tunnel.sh @@ -4,7 +4,7 @@ source ./scripts/ci/sources/retry-call.sh # Variable the specifies how often the wait script should be invoked if it fails. -WAIT_RETRIES=1 +WAIT_RETRIES=2 start_tunnel() { case "$MODE" in diff --git a/scripts/saucelabs/wait-tunnel.sh b/scripts/saucelabs/wait-tunnel.sh index 3fd90965f08e..1c0aa0cdee10 100755 --- a/scripts/saucelabs/wait-tunnel.sh +++ b/scripts/saucelabs/wait-tunnel.sh @@ -1,7 +1,7 @@ #!/bin/bash TUNNEL_LOG="$LOGS_DIR/saucelabs-tunnel.log" -WAIT_DELAY=60 +WAIT_DELAY=30 # Method that prints the logfile output of the saucelabs tunnel. printLog() {