]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Increase default boostrap time in test-network.sh
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 8 Sep 2015 18:21:07 +0000 (04:21 +1000)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Tue, 8 Sep 2015 18:21:07 +0000 (04:21 +1000)
Increase default boostrap time in test-network.sh to 30 seconds,
for larger networks like bridges+ipv6+hs.

This avoids the failure-hiding issues inherent in the retry approach
in #16952.

src/test/test-network.sh

index 451a40afd0268470692d5849e1e52466ead664a9..576fbed03bb222f5b71cf85865d982de889c929d 100755 (executable)
@@ -86,7 +86,7 @@ export CHUTNEY_TOR_GENCERT="${TOR_DIR}/src/tools/${tor_gencert_name}"
 
 # Sleep some, waiting for the network to bootstrap.
 # TODO: Add chutney command 'bootstrap-status' and use that instead.
-BOOTSTRAP_TIME=${BOOTSTRAP_TIME:-25}
+BOOTSTRAP_TIME=${BOOTSTRAP_TIME:-30}
 $ECHO_N "$myname: sleeping for $BOOTSTRAP_TIME seconds"
 n=$BOOTSTRAP_TIME; while [ $n -gt 0 ]; do
     sleep 1; n=$(expr $n - 1); $ECHO_N .