Remove shutdown test

This commit is contained in:
Yevhen Ivantsov 2023-08-03 15:00:17 +10:00
parent aff17412af
commit 91e1ef2891

View File

@ -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)