瀏覽代碼

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.
teor 7 年之前
父節點
當前提交
db62244991
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tools/test-network.sh

+ 3 - 3
tools/test-network.sh

@@ -181,9 +181,9 @@ cd "$CHUTNEY_PATH"
 # and then stops immediately (by default)
 # and then stops immediately (by default)
 # Even the fastest chutney networks take 5-10 seconds for their first consensus
 # 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
 # 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
 if [ "$CHUTNEY_START_TIME" -ge 0 ]; then
   echo "Waiting ${CHUTNEY_START_TIME} seconds for a consensus containing relays to be generated..."
   echo "Waiting ${CHUTNEY_START_TIME} seconds for a consensus containing relays to be generated..."