[tor-commits] [tor/master] Increase default boostrap time in test-network.sh

nickm at torproject.org nickm at torproject.org
Tue Sep 8 18:44:57 UTC 2015


commit 036966e3ec02d48ff3f69403430cb6d019ac5bcf
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Wed Sep 9 04:21:07 2015 +1000

    Increase default boostrap time in test-network.sh
    
    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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test-network.sh b/src/test/test-network.sh
index 451a40a..576fbed 100755
--- a/src/test/test-network.sh
+++ b/src/test/test-network.sh
@@ -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 .





More information about the tor-commits mailing list