Skip to content

Commit bafab04

Browse files
committed
Skip tests requiring iptables.
Tests running `sudo` are problematic to run locally during development, as you can't just run the tests - you need to watch them and wait for sudo prompt. In this test, it would be better to use some kind of proxy. As the test was already marked xfail, skip it to make development easier.
1 parent a8faa90 commit bafab04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/standard/test_shard_aware.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import unittest2 as unittest
2727
except ImportError:
2828
import unittest # noqa
29+
import pytest
2930

3031
from cassandra.cluster import Cluster
3132
from cassandra.policies import TokenAwarePolicy, RoundRobinPolicy, ConstantReconnectionPolicy
@@ -188,7 +189,7 @@ def test_closing_connections(self):
188189
time.sleep(10)
189190
self.query_data(self.session)
190191

191-
@unittest.expectedFailure
192+
@pytest.mark.skip
192193
def test_blocking_connections(self):
193194
"""
194195
Verify that reconnection is working as expected, when connection are being blocked.

0 commit comments

Comments
 (0)