瀏覽代碼

Increase CHUTNEY_START_TIME to 60

Nick Mathewson 6 年之前
父節點
當前提交
d8355b434e
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      README
  2. 1 1
      lib/chutney/TorNet.py

+ 1 - 1
README

@@ -130,7 +130,7 @@ Bandwidth File Tests:
 Waiting for the network:
 Waiting for the network:
 
 
   The tools/test-network.sh script waits CHUTNEY_START_TIME seconds
   The tools/test-network.sh script waits CHUTNEY_START_TIME seconds
-  (default: 20) before calling chutney verify, because that's the minimum
+  (default: 60) before calling chutney verify, because that's the minimum
   amount of time it takes to bootstrap a consensus containing relays.
   amount of time it takes to bootstrap a consensus containing relays.
   (It takes 5-10 seconds for the authorities to create the first consensus,
   (It takes 5-10 seconds for the authorities to create the first consensus,
   then 10 seconds for relays to bootstrap, submit their descriptors, and be
   then 10 seconds for relays to bootstrap, submit their descriptors, and be

+ 1 - 1
lib/chutney/TorNet.py

@@ -1186,7 +1186,7 @@ class Network(object):
 
 
     def wait_for_bootstrap(self):
     def wait_for_bootstrap(self):
         print("Waiting for nodes to bootstrap...")
         print("Waiting for nodes to bootstrap...")
-        limit = getenv_int("CHUTNEY_START_TIME", 20)
+        limit = getenv_int("CHUTNEY_START_TIME", 60)
         delay = 0.5
         delay = 0.5
         controllers = [n.getController() for n in self._nodes]
         controllers = [n.getController() for n in self._nodes]
         elapsed = 0.0
         elapsed = 0.0