tests/e2e: ensure outpost service account has correct permissions
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5411412626
commit
f996f9d4e3
|
@ -265,8 +265,6 @@ DATABASES = {
|
||||||
"USER": CONFIG.y("postgresql.user"),
|
"USER": CONFIG.y("postgresql.user"),
|
||||||
"PASSWORD": CONFIG.y("postgresql.password"),
|
"PASSWORD": CONFIG.y("postgresql.password"),
|
||||||
"PORT": int(CONFIG.y("postgresql.port")),
|
"PORT": int(CONFIG.y("postgresql.port")),
|
||||||
"CONN_MAX_AGE": 300,
|
|
||||||
"ATOMIC_REQUESTS": True,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,6 +86,7 @@ class TestProviderProxy(SeleniumTestCase):
|
||||||
)
|
)
|
||||||
outpost.providers.add(proxy)
|
outpost.providers.add(proxy)
|
||||||
outpost.save()
|
outpost.save()
|
||||||
|
_ = outpost.user
|
||||||
|
|
||||||
self.proxy_container = self.start_proxy(outpost)
|
self.proxy_container = self.start_proxy(outpost)
|
||||||
|
|
||||||
|
@ -145,6 +146,7 @@ class TestProviderProxyConnect(ChannelsLiveServerTestCase):
|
||||||
)
|
)
|
||||||
outpost.providers.add(proxy)
|
outpost.providers.add(proxy)
|
||||||
outpost.save()
|
outpost.save()
|
||||||
|
_ = outpost.user
|
||||||
|
|
||||||
# Wait until outpost healthcheck succeeds
|
# Wait until outpost healthcheck succeeds
|
||||||
healthcheck_retries = 0
|
healthcheck_retries = 0
|
||||||
|
|
Reference in New Issue