[Qa-jenkins-scm] [jenkins.debian.net] 01/01: torbrowser tests: give the debian mirror via onion more time to load

Holger Levsen holger at moszumanska.debian.org
Wed Jan 20 10:03:04 UTC 2016


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 1cea92369362fde4d93c485363391b557fac2443
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Jan 20 11:03:01 2016 +0100

    torbrowser tests: give the debian mirror via onion more time to load
---
 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 b0314a5..166a557 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -326,8 +326,8 @@ download_and_launch() {
 	sleep 1
 	xvkbd -text "\r" > /dev/null 2>&1
 	sleep 2
-	# allow up up to 51 seconds to load the url
-	for i in $(seq 1 6) ; do
+	# allow up up to 76 seconds to load the url
+	for i in $(seq 1 8) ; do
 		sleep 5 ; sleep $i
 		URL_LOADED=$(gocr $WORKSPACE/screenshot.png 2>/dev/null | grep -c -i "README" || true)
 		update_screenshot
@@ -339,7 +339,7 @@ download_and_launch() {
 	done
 	# for debugging
 	if [ $URL_LOADED -lt 4 ] ; then
-		echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
+		echo "$(date -u) - URL_LOADED = '$URL_LOADED' so probably that page didnt load properly."
 	fi
 	BONUS_LEVEL_2=""
 	URL="https://www.debian.org"

-- 
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