diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-12-07 16:36:12 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-12-07 16:36:12 +0100 |
commit | 09be5b3c99790ae52608f47c7a53aec58d7ad236 (patch) | |
tree | f322a319ee20dbf647ddc3239e17b5eb45c4debd | |
parent | dad67b941c56845a20288451aed17a3601638570 (diff) | |
download | jenkins.debian.net-09be5b3c99790ae52608f47c7a53aec58d7ad236.tar.xz |
torbrowser tests: double the time torbrowser gets to start
-rwxr-xr-x | bin/test_torbrowser-launcher.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index 4245e4e5..f5ff5d2a 100755 --- a/bin/test_torbrowser-launcher.sh +++ b/bin/test_torbrowser-launcher.sh @@ -250,8 +250,8 @@ download_and_launch() { xvkbd -text "\r" > /dev/null 2>&1 sleep 3 update_screenshot - # allow up to 63 seconds for torbrowser to make the first connection through tor - for i in $(seq 1 7) ; do + # allow up to 121 seconds for torbrowser to start and to make the first connection through tor + for i in $(seq 1 11) ; do sleep 5 ; sleep $i update_screenshot TOR_RUNNING=$(gocr $WORKSPACE/screenshot.png 2>/dev/null | egrep "(Search securely|Tor Is NOT all you need to browse|There are many ways you can help)" || true) @@ -261,7 +261,7 @@ download_and_launch() { fi done if [ -z "$TOR_RUNNING" ] ; then - announce_problem_and_abort_silently "$(date -u) - could not connect successfuly via tor or could not run torbrowser at all. Aborting." + announce_problem_and_abort_silently "$(date -u) - could not connect via tor or could not run torbrowser at all. Aborting." fi BONUS_LEVEL_1="" URL="http://vwakviie2ienjx6t.onion/debian/" # see http://richardhartmann.de/blog/posts/2015/08/24-Tor-enabled_Debian_mirror/ |