diff --git a/tests/test_container.py b/tests/test_container.py index 05c83ca..b274637 100644 --- a/tests/test_container.py +++ b/tests/test_container.py @@ -458,7 +458,11 @@ def test_fails_at_once_with_the_log_tail_if_the_container_exits( 'for line in $(seq 1 30); do echo "line $line"; done; exit 1', ], } - container = Container().with_image_tag(get_image_tag()).with_startup_timeout(5) + # The default startup timeout leaves a busy Docker the time it needs to + # create and start the container. The test does not depend on it: a + # start that waited for the time to run out would fail with another + # error than the log tail. + container = Container().with_image_tag(get_image_tag()) with pytest.raises(RuntimeError) as error: container.start()