diff --git a/examples/server/tests/features/steps/steps.py b/examples/server/tests/features/steps/steps.py index a418b013f..6c4b62316 100644 --- a/examples/server/tests/features/steps/steps.py +++ b/examples/server/tests/features/steps/steps.py @@ -228,6 +228,7 @@ async def step_wait_for_server_status_with_timeout(context, expecting_status: Li @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): await wait_for_server_status_with_timeout(context, expecting_status, 30)