From f996f9d4e398ecf5f60b8e85e4d004d7701593f0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 4 Jun 2021 09:46:31 +0200 Subject: [PATCH] tests/e2e: ensure outpost service account has correct permissions Signed-off-by: Jens Langhammer --- authentik/root/settings.py | 2 -- tests/e2e/test_provider_proxy.py | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/authentik/root/settings.py b/authentik/root/settings.py index df2e0dc33..99d0b0f6f 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -265,8 +265,6 @@ DATABASES = { "USER": CONFIG.y("postgresql.user"), "PASSWORD": CONFIG.y("postgresql.password"), "PORT": int(CONFIG.y("postgresql.port")), - "CONN_MAX_AGE": 300, - "ATOMIC_REQUESTS": True, } } diff --git a/tests/e2e/test_provider_proxy.py b/tests/e2e/test_provider_proxy.py index 3f00ee88e..467d1349b 100644 --- a/tests/e2e/test_provider_proxy.py +++ b/tests/e2e/test_provider_proxy.py @@ -86,6 +86,7 @@ class TestProviderProxy(SeleniumTestCase): ) outpost.providers.add(proxy) outpost.save() + _ = outpost.user self.proxy_container = self.start_proxy(outpost) @@ -145,6 +146,7 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase): ) outpost.providers.add(proxy) outpost.save() + _ = outpost.user # Wait until outpost healthcheck succeeds healthcheck_retries = 0