From e8e3e725096c7085a119d9fe4dfe99f70ed93fc5 Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Tue, 3 Sep 2024 12:54:03 +0200 Subject: [PATCH] fix test step --- examples/server/tests/features/steps/steps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/server/tests/features/steps/steps.py b/examples/server/tests/features/steps/steps.py index a418b013fd043..6c4b623166222 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)