summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-05-30 18:53:11 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2017-05-30 18:53:11 +0200
commit8cd94a366c93a63aabfe69b5077b3471710c925d (patch)
tree8f7ede0fd03bd16b140e20d4dd8982f26ac7504c
parent279019043fd424eda265c5cefaa26a3f558b43d7 (diff)
downloadpsutil-8cd94a366c93a63aabfe69b5077b3471710c925d.tar.gz
disable failing test on travis
-rwxr-xr-xpsutil/tests/test_connections.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/psutil/tests/test_connections.py b/psutil/tests/test_connections.py
index 9390214e..203ddebb 100755
--- a/psutil/tests/test_connections.py
+++ b/psutil/tests/test_connections.py
@@ -40,6 +40,7 @@ from psutil.tests import safe_rmpath
from psutil.tests import skip_on_access_denied
from psutil.tests import tcp_socketpair
from psutil.tests import TESTFN
+from psutil.tests import TRAVIS
from psutil.tests import unittest
from psutil.tests import unix_socket_path
from psutil.tests import unix_socketpair
@@ -451,6 +452,8 @@ class TestSystemWideConnections(unittest.TestCase):
self.assertEqual(len(cons), len(socks))
@skip_on_access_denied()
+ # See: https://travis-ci.org/giampaolo/psutil/jobs/237566297
+ @unittest.skipIf(OSX and TRAVIS, "unreliable on OSX + TRAVIS")
def test_multi_sockets_procs(self):
# Creates multiple sub processes, each creating different
# sockets. For each process check that proc.connections()