Skip to content
Permalink
Browse files
Offline (i.e. not ONLINE) integ tests only wait for 0% bootstrapping …
…(Fixes: #25757)

Empirically, all not-ONLINE-target integ tests worked at 0%
bootstrapping.
Changing this value from 5% to 0% allows tests to run without any
network access.
  • Loading branch information
dmr-x committed Apr 10, 2018
1 parent b5b22ec commit e13600612a722b0d3dd6ffc32e5965ed35acdfae
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/runner.py
@@ -608,7 +608,7 @@ def _start_tor(self, tor_cmd):
self._tor_process = stem.process.launch_tor(
tor_cmd = tor_cmd,
torrc_path = os.path.join(self._test_dir, 'torrc'),
completion_percent = 100 if test.Target.ONLINE in self.attribute_targets else 5,
completion_percent = 100 if test.Target.ONLINE in self.attribute_targets else 0,
init_msg_handler = lambda line: println(' %s' % line, SUBSTATUS),
take_ownership = True,
)

0 comments on commit e136006

Please sign in to comment.