From d739c6d4a26374a4c5991f3ae035712610a4f6c7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 18 Jan 2016 17:10:11 +0100 Subject: torbrowser tests: allow up to 22min to download the browser… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/test_torbrowser-launcher.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/test_torbrowser-launcher.sh') diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index c06a3b92..b0314a5e 100755 --- a/bin/test_torbrowser-launcher.sh +++ b/bin/test_torbrowser-launcher.sh @@ -260,10 +260,10 @@ download_and_launch() { if [ -n "$SETTINGS_DONE" ] ; then announce_failure_and_exit "$(date -u) - settings dialog still there, please investigate." fi - # allow the download to take up to ~15 minutes (891 seconds) - # ( echo -n "0" ; for i in $(seq 1 33) ; do echo -n "+$i+10" ; done ; echo ) | bc + # allow the download to take up to ~22 minutes (1323 seconds) + # ( echo -n "0" ; for i in $(seq 1 42) ; do echo -n "+$i+10" ; done ; echo ) | bc # we watch the download directory and parse torbrowser-launchers stdout, so usually this loop won't run this long - for i in $(seq 1 33) ; do + for i in $(seq 1 42) ; do sleep 10 ; sleep $i STATUS="$(grep '^Download error:' $TBL_LOGFILE || true)" if [ -n "$STATUS" ] ; then -- cgit v1.2.3-54-g00ecf