summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Johnson <atagar@torproject.org>2018-09-28 11:07:55 -0700
committerDamian Johnson <atagar@torproject.org>2018-09-28 11:07:55 -0700
commitb08dbff38392dec1308486697ebf9f7470936357 (patch)
treee9ee734dd8198d2635d26160bd718446b11f3847
parentfebe3f4128b49f1380a8f32f23e3c5a8466582d3 (diff)
Disable connection test for 'ss'
Nick is having issues with this test. Unfortunately I don't have a repro for the failure nor have there been other reports so unsure how to dig in further. Nick reports that it *does* provide connection results... 17:40 <+nickm> atagar: I get a bunch of firefox and ssh entries. 17:40 <+nickm> [1166]$ which ss 17:40 <+nickm> /usr/sbin/ss ... but evidently solely for this connection resolver can't detect the tor control connection? https://trac.torproject.org/projects/tor/ticket/27479 Simply disabling the test for now so test runs will pass for him.
-rw-r--r--test/integ/util/connection.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/integ/util/connection.py b/test/integ/util/connection.py
index 19ba1996..933c5788 100644
--- a/test/integ/util/connection.py
+++ b/test/integ/util/connection.py
@@ -46,7 +46,10 @@ class TestConnection(unittest.TestCase):
self.check_resolver(Resolver.NETSTAT_WINDOWS)
def test_connections_by_ss(self):
- self.check_resolver(Resolver.SS)
+ try:
+ self.check_resolver(Resolver.SS)
+ except OSError:
+ self.skipTest('(ticket 27479)')
def test_connections_by_lsof(self):
self.check_resolver(Resolver.LSOF)