Browse Source

Increase CHUTNEY_START_TIME to 60

Nick Mathewson 5 years ago
parent
commit
d8355b434e
2 changed files with 2 additions and 2 deletions
  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:
 
   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.
   (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

+ 1 - 1
lib/chutney/TorNet.py

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