Browse code

docker-py: skip flaky AttachContainerTest::test_attach_no_stream

Seen failing a couple of times:

```
[2019-09-02T08:40:15.796Z] =================================== FAILURES ===================================
[2019-09-02T08:40:15.796Z] __________________ AttachContainerTest.test_attach_no_stream ___________________
[2019-09-02T08:40:15.796Z] tests/integration/api_container_test.py:1250: in test_attach_no_stream
[2019-09-02T08:40:15.796Z] assert output == 'hello\n'.encode(encoding='ascii')
[2019-09-02T08:40:15.796Z] E AssertionError: assert b'' == b'hello\n'
[2019-09-02T08:40:15.796Z] E Right contains more items, first extra item: 104
[2019-09-02T08:40:15.796Z] E Use -v to get the full diff
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit ce77a804b86886489fae47aa15a3ee5a0a8815e0)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2019/09/02 22:34:34
Showing 1 changed files
... ...
@@ -13,6 +13,7 @@ source hack/make/.integration-test-helpers
13 13
 # TODO remove these skip once we update to a docker-py version that has https://github.com/docker/docker-py/pull/2369, https://github.com/docker/docker-py/pull/2380, https://github.com/docker/docker-py/pull/2382
14 14
 : "${PY_TEST_OPTIONS:=\
15 15
 --deselect=tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr \
16
+--deselect=tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream \
16 17
 --deselect=tests/integration/api_exec_test.py::ExecTest::test_detach_with_arg \
17 18
 --deselect=tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux \
18 19
 --deselect=tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform \