tests/e2e: ensure outpost service account has correct permissions

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-06-04 09:46:31 +02:00
parent 5411412626
commit f996f9d4e3
2 changed files with 2 additions and 2 deletions

View File

@ -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,
}
}

View File

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