Commit 7c42d62b authored by juga's avatar juga
Browse files

scanner: exit after the first loop in test networks

In order to run the scanner as part of the integration tests.
parent c38cf733
......@@ -382,6 +382,11 @@ def run_speedtest(args, conf):
loop_tstop = time.time()
loop_tdelta = (loop_tstop - loop_tstart) / 60"Measured %s relays in %s minutes", num_relays, loop_tdelta)
# In a testing network, exit after first loop
if controller.get_conf('TestingTorNetwork') == '1':"In a testing network, exiting after the first loop.")
# Threads should be closed nicely in some refactor
def gen_parser(sub):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment