From b95124f81ea5d01272781445238cc930124f14bb Mon Sep 17 00:00:00 2001 From: DABH Date: Sun, 19 Apr 2026 13:04:18 -0500 Subject: [PATCH] Increase execution_timeout for OpenAI tests that call the real API test_hello_world_agent[False] had a 5s execution timeout and test_input_guardrail[False] had a 10s timeout, but both use a 30s activity start_to_close_timeout. The workflow times out before the OpenAI API call can complete on slower CI runners. Bump both to 60s. --- tests/contrib/openai_agents/test_openai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/contrib/openai_agents/test_openai.py b/tests/contrib/openai_agents/test_openai.py index 578eb4d77..c3895a72c 100644 --- a/tests/contrib/openai_agents/test_openai.py +++ b/tests/contrib/openai_agents/test_openai.py @@ -141,7 +141,7 @@ async def test_hello_world_agent(client: Client, use_local_model: bool): "Tell me about recursion in programming.", id=f"hello-workflow-{uuid.uuid4()}", task_queue=worker.task_queue, - execution_timeout=timedelta(seconds=5), + execution_timeout=timedelta(seconds=60), ) if use_local_model: assert result == "test" @@ -1243,7 +1243,7 @@ async def test_input_guardrail(client: Client, use_local_model: bool): ], id=f"input-guardrail-{uuid.uuid4()}", task_queue=worker.task_queue, - execution_timeout=timedelta(seconds=10), + execution_timeout=timedelta(seconds=60), ) result = await workflow_handle.result()