test refactor: reduce timeout for starting user server, sleep less

This commit is contained in:
Erik Sundell
2023-06-07 01:35:34 +02:00
parent f127322aa3
commit cdc4a9d388
2 changed files with 10 additions and 10 deletions

View File

@@ -18,7 +18,7 @@ async def test_admin_login():
async with User(username, hub_url, partial(login_dummy, password=password)) as u:
await u.login()
# If user is not logged in, this will raise an exception
await u.ensure_server_simulate()
await u.ensure_server_simulate(timeout=60, spawn_refresh_time=5)
@pytest.mark.parametrize(