From b116452a03dff51f54097c19aa80407f0bcce371 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 2 Sep 2019 15:34:34 +0200 Subject: [PATCH] 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 (cherry picked from commit ce77a804b86886489fae47aa15a3ee5a0a8815e0) Signed-off-by: Sebastiaan van Stijn --- hack/make/test-docker-py | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/make/test-docker-py b/hack/make/test-docker-py index 9625f47e61..da51928e9d 100644 --- a/hack/make/test-docker-py +++ b/hack/make/test-docker-py @@ -13,6 +13,7 @@ source hack/make/.integration-test-helpers # 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 : "${PY_TEST_OPTIONS:=\ --deselect=tests/integration/api_swarm_test.py::SwarmTest::test_init_swarm_data_path_addr \ +--deselect=tests/integration/api_container_test.py::AttachContainerTest::test_attach_no_stream \ --deselect=tests/integration/api_exec_test.py::ExecTest::test_detach_with_arg \ --deselect=tests/integration/api_exec_test.py::ExecDemuxTest::test_exec_command_tty_stream_no_demux \ --deselect=tests/integration/api_build_test.py::BuildTest::test_build_invalid_platform \