Skip to content

Commit 33b8fd6

Browse files
author
Ulysses Souza
committed
Xfail test_attach_stream_and_cancel on TLS
This test is quite flaky on ssl integration test Signed-off-by: Ulysses Souza <[email protected]>
1 parent cb8b462 commit 33b8fd6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/integration/api_container_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,6 @@ def test_kill_with_signal_integer(self):
10801080

10811081
class PortTest(BaseAPIIntegrationTest):
10821082
def test_port(self):
1083-
10841083
port_bindings = {
10851084
'1111': ('127.0.0.1', '4567'),
10861085
'2222': ('127.0.0.1', '4568')
@@ -1260,6 +1259,9 @@ def test_attach_no_stream(self):
12601259
@pytest.mark.timeout(5)
12611260
@pytest.mark.skipif(os.environ.get('DOCKER_HOST', '').startswith('ssh://'),
12621261
reason='No cancellable streams over SSH')
1262+
@pytest.mark.xfail(condition=os.environ.get('DOCKER_TLS_VERIFY') or
1263+
os.environ.get('DOCKER_CERT_PATH'),
1264+
reason='Flaky test on TLS')
12631265
def test_attach_stream_and_cancel(self):
12641266
container = self.client.create_container(
12651267
BUSYBOX, 'sh -c "echo hello && sleep 60"',

0 commit comments

Comments
 (0)