fix test step

This commit is contained in:
Xuan Son Nguyen 2024-09-03 12:54:03 +02:00
parent 69b398ce64
commit e8e3e72509

View file

@ -228,6 +228,7 @@ async def step_wait_for_server_status_with_timeout(context, expecting_status: Li
@step("the server is {expecting_status}") @step("the server is {expecting_status}")
@async_run_until_complete
async def step_wait_for_server_status(context, expecting_status: Literal['healthy', 'ready', 'idle', 'busy'] | str): async def step_wait_for_server_status(context, expecting_status: Literal['healthy', 'ready', 'idle', 'busy'] | str):
await wait_for_server_status_with_timeout(context, expecting_status, 30) await wait_for_server_status_with_timeout(context, expecting_status, 30)