From 91e1ef28911d873d46bbc7168704d3dee361a9d9 Mon Sep 17 00:00:00 2001 From: Yevhen Ivantsov Date: Thu, 3 Aug 2023 15:00:17 +1000 Subject: [PATCH] Remove shutdown test --- tests/test_image.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/test_image.py b/tests/test_image.py index 8d2498f..a32fbe3 100644 --- a/tests/test_image.py +++ b/tests/test_image.py @@ -47,17 +47,6 @@ def test_first_run_state(docker_cli, image, run_user): wait_for_http_response(STATUS_URL, expected_status=200, expected_state=('STARTING', 'FIRST_RUN'), max_wait=120) -def test_clean_shutdown(docker_cli, image, run_user): - container = docker_cli.containers.run(image, detach=True, user=run_user, ports={PORT: PORT}) - host = testinfra.get_host("docker://"+container.id) - wait_for_state(STATUS_URL, expected_state='FIRST_RUN') - - container.kill(signal.SIGTERM) - - end = r'org\.apache\.coyote\.AbstractProtocol\.destroy Destroying ProtocolHandler' - wait_for_log(container, end) - - def test_shutdown_script(docker_cli, image, run_user): container = docker_cli.containers.run(image, detach=True, user=run_user, ports={PORT: PORT}) host = testinfra.get_host("docker://"+container.id)