From 5cd1bd9325f6c71a5fa28808a5e9186a80c29cb4 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 7 Oct 2022 16:25:46 +0300 Subject: [PATCH] tests: dont auto-remove containers on exit to get logs Signed-off-by: Jens Langhammer --- tests/e2e/test_provider_ldap.py | 1 - tests/e2e/test_provider_oauth2_oidc.py | 1 - tests/e2e/test_provider_oauth2_oidc_implicit.py | 1 - tests/e2e/test_provider_saml.py | 1 - tests/integration/test_outpost_docker.py | 1 - tests/integration/test_proxy_docker.py | 1 - 6 files changed, 6 deletions(-) diff --git a/tests/e2e/test_provider_ldap.py b/tests/e2e/test_provider_ldap.py index 8e0fe4ab6..479408c72 100644 --- a/tests/e2e/test_provider_ldap.py +++ b/tests/e2e/test_provider_ldap.py @@ -38,7 +38,6 @@ class TestProviderLDAP(SeleniumTestCase): image=self.get_container_image("ghcr.io/goauthentik/dev-ldap"), detach=True, network_mode="host", - auto_remove=True, environment={ "AUTHENTIK_HOST": self.live_server_url, "AUTHENTIK_TOKEN": outpost.token.key, diff --git a/tests/e2e/test_provider_oauth2_oidc.py b/tests/e2e/test_provider_oauth2_oidc.py index f43e8e129..c2fe50670 100644 --- a/tests/e2e/test_provider_oauth2_oidc.py +++ b/tests/e2e/test_provider_oauth2_oidc.py @@ -44,7 +44,6 @@ class TestProviderOAuth2OIDC(SeleniumTestCase): image="ghcr.io/beryju/oidc-test-client:latest", detach=True, network_mode="host", - auto_remove=True, healthcheck=Healthcheck( test=["CMD", "wget", "--spider", "http://localhost:9009/health"], interval=5 * 100 * 1000000, diff --git a/tests/e2e/test_provider_oauth2_oidc_implicit.py b/tests/e2e/test_provider_oauth2_oidc_implicit.py index 44e7c8571..190e6343e 100644 --- a/tests/e2e/test_provider_oauth2_oidc_implicit.py +++ b/tests/e2e/test_provider_oauth2_oidc_implicit.py @@ -44,7 +44,6 @@ class TestProviderOAuth2OIDCImplicit(SeleniumTestCase): image="ghcr.io/beryju/oidc-test-client:latest", detach=True, network_mode="host", - auto_remove=True, healthcheck=Healthcheck( test=["CMD", "wget", "--spider", "http://localhost:9009/health"], interval=5 * 100 * 1000000, diff --git a/tests/e2e/test_provider_saml.py b/tests/e2e/test_provider_saml.py index 67f8c0cb6..5119123bc 100644 --- a/tests/e2e/test_provider_saml.py +++ b/tests/e2e/test_provider_saml.py @@ -43,7 +43,6 @@ class TestProviderSAML(SeleniumTestCase): image="ghcr.io/beryju/saml-test-sp:latest", detach=True, network_mode="host", - auto_remove=True, healthcheck=Healthcheck( test=["CMD", "wget", "--spider", "http://localhost:9009/health"], interval=5 * 100 * 1000000, diff --git a/tests/integration/test_outpost_docker.py b/tests/integration/test_outpost_docker.py index 314d2a89c..0186ff46c 100644 --- a/tests/integration/test_outpost_docker.py +++ b/tests/integration/test_outpost_docker.py @@ -33,7 +33,6 @@ class OutpostDockerTests(ChannelsLiveServerTestCase): image="library/docker:dind", detach=True, network_mode="host", - remove=True, privileged=True, healthcheck=Healthcheck( test=["CMD", "docker", "info"], diff --git a/tests/integration/test_proxy_docker.py b/tests/integration/test_proxy_docker.py index d2e9327cb..28941b2de 100644 --- a/tests/integration/test_proxy_docker.py +++ b/tests/integration/test_proxy_docker.py @@ -33,7 +33,6 @@ class TestProxyDocker(ChannelsLiveServerTestCase): image="library/docker:dind", detach=True, network_mode="host", - remove=True, privileged=True, healthcheck=Healthcheck( test=["CMD", "docker", "info"],