소스 검색

Increase CHUTNEY_START_TIME to 60

Nick Mathewson 5 년 전
부모
커밋
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:
 
   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