[tor-commits] [stem/master] Only run test_transition_to_relay with ONLINE target
atagar at torproject.org
atagar at torproject.org
Wed Jul 26 03:13:48 UTC 2017
commit af8d6cb457ff56f491fb525cf6fe308481490501
Author: Damian Johnson <atagar at torproject.org>
Date: Tue Jul 25 20:12:04 2017 -0700
Only run test_transition_to_relay with ONLINE target
Turns out this test causes tor to choke if no network has been present since
the system was first started up. Notified Nick...
https://trac.torproject.org/projects/tor/ticket/23036
---
test/integ/control/controller.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index 06107e84..af7b384f 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -1339,6 +1339,7 @@ class TestController(unittest.TestCase):
circuits = controller.get_circuits()
self.assertTrue(new_circ in [circ.id for circ in circuits])
+ @test.require.online
@test.require.controller
def test_transition_to_relay(self):
"""
More information about the tor-commits
mailing list