Commit 8c614019 authored by Holger Levsen's avatar Holger Levsen
Browse files

torbrowser tests: allow up to 165 seconds to start tbb and get the first connection though tor

parent 9e349043
...@@ -299,8 +299,8 @@ download_and_launch() { ...@@ -299,8 +299,8 @@ download_and_launch() {
xvkbd -text "\r" > /dev/null 2>&1 xvkbd -text "\r" > /dev/null 2>&1
sleep 3 sleep 3
update_screenshot update_screenshot
# allow up to 121 seconds for torbrowser to start and to make the first connection through tor # allow up to 165 seconds for torbrowser to start and to make the first connection through tor
for i in $(seq 1 11) ; do for i in $(seq 1 14) ; do
sleep 5 ; sleep $i sleep 5 ; sleep $i
update_screenshot 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) 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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment