mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
Remove shutdown test
This commit is contained in:
parent
aff17412af
commit
91e1ef2891
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user