[tor-commits] [stem/master] Offline (i.e. not ONLINE) integ tests only wait for 0% bootstrapping (Fixes: #25757)

atagar at torproject.org atagar at torproject.org
Tue Apr 10 16:24:11 UTC 2018


commit 16a5983581568dea6f32d43de78867d0796f2bb4
Author: Dave Rolek <dmr-x at riseup.net>
Date:   Tue Apr 10 00:52:36 2018 +0000

    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.
---
 test/runner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/runner.py b/test/runner.py
index 67d12dd7..bd3fe8a4 100644
--- a/test/runner.py
+++ b/test/runner.py
@@ -608,7 +608,7 @@ class Runner(object):
       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,
       )



More information about the tor-commits mailing list