diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-09-09 04:21:07 +1000 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2015-09-09 04:21:07 +1000 |
commit | 036966e3ec02d48ff3f69403430cb6d019ac5bcf (patch) | |
tree | 425f8bfcfe009b00290ea8a282e431991b3b58ee /src/test/test-network.sh | |
parent | 60c6debda86e2ff6255f588d6b8e4e204a821bda (diff) | |
download | tor-036966e3ec02d48ff3f69403430cb6d019ac5bcf.tar.gz tor-036966e3ec02d48ff3f69403430cb6d019ac5bcf.zip |
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.
Diffstat (limited to 'src/test/test-network.sh')
-rwxr-xr-x | src/test/test-network.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-network.sh b/src/test/test-network.sh index 451a40afd0..576fbed03b 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 . |