[tor-commits] [chutney/master] Export CHUTNEY_BOOTSTRAP_TIME in test-network.sh

teor at torproject.org teor at torproject.org
Thu Aug 11 04:33:45 UTC 2016


commit db622449914e2170af839e5d99dd75a1e2ab012e
Author: teor <teor2345 at gmail.com>
Date:   Thu Aug 11 14:30:52 2016 +1000

    Export CHUTNEY_BOOTSTRAP_TIME in test-network.sh
    
    Otherwise, chutney uses its internal default value when there
    is no argument on the test-network.sh command-line.
---
 tools/test-network.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/test-network.sh b/tools/test-network.sh
index 0c5fdeb..57bdce2 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -181,9 +181,9 @@ cd "$CHUTNEY_PATH"
 # and then stops immediately (by default)
 # Even the fastest chutney networks take 5-10 seconds for their first consensus
 # and then 10 seconds after that for relays to bootstrap and upload descriptors
-CHUTNEY_START_TIME=${CHUTNEY_START_TIME:-20}
-CHUTNEY_BOOTSTRAP_TIME=${CHUTNEY_BOOTSTRAP_TIME:-60}
-CHUTNEY_STOP_TIME=${CHUTNEY_STOP_TIME:-0}
+export CHUTNEY_START_TIME=${CHUTNEY_START_TIME:-20}
+export CHUTNEY_BOOTSTRAP_TIME=${CHUTNEY_BOOTSTRAP_TIME:-60}
+export CHUTNEY_STOP_TIME=${CHUTNEY_STOP_TIME:-0}
 
 if [ "$CHUTNEY_START_TIME" -ge 0 ]; then
   echo "Waiting ${CHUTNEY_START_TIME} seconds for a consensus containing relays to be generated..."



More information about the tor-commits mailing list