core: add fallback URLs for websocket to cleanup test logs

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-06-03 17:20:44 +02:00
parent 290ebef8e3
commit 5e3628bea6
4 changed files with 7 additions and 11 deletions

View File

@ -88,16 +88,6 @@ class TestProviderProxy(SeleniumTestCase):
self.proxy_container = self.start_proxy(outpost)
# Wait until outpost healthcheck succeeds
healthcheck_retries = 0
while healthcheck_retries < 50:
if len(outpost.state) > 0:
state = outpost.state[0]
if state.last_seen:
break
healthcheck_retries += 1
sleep(0.5)
self.driver.get("http://localhost:4180")
self.login()
sleep(1)