Skip to content

Commit 12d73c6

Browse files
Ulysses Souzashin-
authored andcommitted
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 23c5c00 commit 12d73c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration/api_container_test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,9 @@ def test_attach_no_stream(self):
12521252
@pytest.mark.timeout(10)
12531253
@pytest.mark.skipif(os.environ.get('DOCKER_HOST', '').startswith('ssh://'),
12541254
reason='No cancellable streams over SSH')
1255+
@pytest.mark.xfail(condition=os.environ.get('DOCKER_TLS_VERIFY') or
1256+
os.environ.get('DOCKER_CERT_PATH'),
1257+
reason='Flaky test on TLS')
12551258
def test_attach_stream_and_cancel(self):
12561259
container = self.client.create_container(
12571260
BUSYBOX, 'sh -c "sleep 2 && echo hello && sleep 60"',

0 commit comments

Comments
 (0)