Skip to content

Commit 450d100

Browse files
committed
test: mark websocket test as xfail for ssl
1 parent 5d3eda6 commit 450d100

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/api_container_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,8 @@ def test_run_container_reading_socket_http(self):
12171217
data = read_exactly(pty_stdout, next_size)
12181218
assert data.decode('utf-8') == line
12191219

1220+
@pytest.mark.xfail(condition=bool(os.environ.get('DOCKER_CERT_PATH', '')),
1221+
reason='DOCKER_CERT_PATH not respected for websockets')
12201222
def test_run_container_reading_socket_ws(self):
12211223
line = 'hi there and stuff and things, words!'
12221224
# `echo` appends CRLF, `printf` doesn't

0 commit comments

Comments
 (0)