summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-20 11:03:01 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-20 11:03:01 +0100
commit1cea92369362fde4d93c485363391b557fac2443 (patch)
treece8058c8478a579cd5cb2caca70f65bd78f182d0 /bin
parentedb36657f7cf26255d07581b4d4aa1feeb2e0ef0 (diff)
downloadjenkins.debian.net-1cea92369362fde4d93c485363391b557fac2443.tar.xz
torbrowser tests: give the debian mirror via onion more time to load
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_torbrowser-launcher.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index b0314a5e..166a5579 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"