commit d8355b434e8e256606f75fdd8796bdbf4f8d0e8f Author: Nick Mathewson nickm@torproject.org Date: Thu Mar 14 13:45:15 2019 -0400
Increase CHUTNEY_START_TIME to 60 --- README | 2 +- lib/chutney/TorNet.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README b/README index 23c6ed2..f7ec527 100644 --- a/README +++ b/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 diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py index e48c1b7..ca099ba 100644 --- a/lib/chutney/TorNet.py +++ b/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