tests: dont auto-remove containers on exit to get logs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
06a0097653
commit
5cd1bd9325
|
@ -38,7 +38,6 @@ class TestProviderLDAP(SeleniumTestCase):
|
||||||
image=self.get_container_image("ghcr.io/goauthentik/dev-ldap"),
|
image=self.get_container_image("ghcr.io/goauthentik/dev-ldap"),
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
|
||||||
environment={
|
environment={
|
||||||
"AUTHENTIK_HOST": self.live_server_url,
|
"AUTHENTIK_HOST": self.live_server_url,
|
||||||
"AUTHENTIK_TOKEN": outpost.token.key,
|
"AUTHENTIK_TOKEN": outpost.token.key,
|
||||||
|
|
|
@ -44,7 +44,6 @@ class TestProviderOAuth2OIDC(SeleniumTestCase):
|
||||||
image="ghcr.io/beryju/oidc-test-client:latest",
|
image="ghcr.io/beryju/oidc-test-client:latest",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
|
||||||
healthcheck=Healthcheck(
|
healthcheck=Healthcheck(
|
||||||
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
|
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
|
||||||
interval=5 * 100 * 1000000,
|
interval=5 * 100 * 1000000,
|
||||||
|
|
|
@ -44,7 +44,6 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase):
|
||||||
image="ghcr.io/beryju/oidc-test-client:latest",
|
image="ghcr.io/beryju/oidc-test-client:latest",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
|
||||||
healthcheck=Healthcheck(
|
healthcheck=Healthcheck(
|
||||||
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
|
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
|
||||||
interval=5 * 100 * 1000000,
|
interval=5 * 100 * 1000000,
|
||||||
|
|
|
@ -43,7 +43,6 @@ class TestProviderSAML(SeleniumTestCase):
|
||||||
image="ghcr.io/beryju/saml-test-sp:latest",
|
image="ghcr.io/beryju/saml-test-sp:latest",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
auto_remove=True,
|
|
||||||
healthcheck=Healthcheck(
|
healthcheck=Healthcheck(
|
||||||
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
|
test=["CMD", "wget", "--spider", "http://localhost:9009/health"],
|
||||||
interval=5 * 100 * 1000000,
|
interval=5 * 100 * 1000000,
|
||||||
|
|
|
@ -33,7 +33,6 @@ class OutpostDockerTests(ChannelsLiveServerTestCase):
|
||||||
image="library/docker:dind",
|
image="library/docker:dind",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
remove=True,
|
|
||||||
privileged=True,
|
privileged=True,
|
||||||
healthcheck=Healthcheck(
|
healthcheck=Healthcheck(
|
||||||
test=["CMD", "docker", "info"],
|
test=["CMD", "docker", "info"],
|
||||||
|
|
|
@ -33,7 +33,6 @@ class TestProxyDocker(ChannelsLiveServerTestCase):
|
||||||
image="library/docker:dind",
|
image="library/docker:dind",
|
||||||
detach=True,
|
detach=True,
|
||||||
network_mode="host",
|
network_mode="host",
|
||||||
remove=True,
|
|
||||||
privileged=True,
|
privileged=True,
|
||||||
healthcheck=Healthcheck(
|
healthcheck=Healthcheck(
|
||||||
test=["CMD", "docker", "info"],
|
test=["CMD", "docker", "info"],
|
||||||
|
|
Reference in New Issue