[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: double the time torbrowser gets to start

Holger Levsen holger at moszumanska.debian.org
Mon Dec 7 15:36:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 09be5b3c99790ae52608f47c7a53aec58d7ad236
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Dec 7 16:36:12 2015 +0100

    torbrowser tests: double the time torbrowser gets to start
---
 bin/test_torbrowser-launcher.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index 4245e4e..f5ff5d2 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/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list