]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup Some slower configurations need 35 seconds to bootstrap
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 10 Sep 2015 07:40:47 +0000 (17:40 +1000)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 10 Sep 2015 07:40:47 +0000 (17:40 +1000)
Some slower configurations, like OS X i386, need 35 seconds to reliably
bootstrap larger chutney networks. Increase default bootstrap time in
src/test/test-network.h to 35 seconds.

src/test/test-network.sh

index 576fbed03bb222f5b71cf85865d982de889c929d..05080e0c52bdc5ba9cd945a99e02ec284d55d28b 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:-30}
+BOOTSTRAP_TIME=${BOOTSTRAP_TIME:-35}
 $ECHO_N "$myname: sleeping for $BOOTSTRAP_TIME seconds"
 n=$BOOTSTRAP_TIME; while [ $n -gt 0 ]; do
     sleep 1; n=$(expr $n - 1); $ECHO_N .