From 8d30c4018daa8714824ea4454a25bc073e68ecdb Mon Sep 17 00:00:00 2001 From: Omar Abdelwahab Date: Thu, 13 Nov 2025 18:46:27 -0800 Subject: [PATCH] test: Add timeout to test_conversation_error_handling to prevent CI hang Following the same pattern as test_conversation_context_loading, adding a 60s timeout to prevent CI deadlock after running 25+ tests. This is a known issue with connection pool exhaustion or event loop state in the CI environment. --- tests/integration/responses/test_conversation_responses.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/responses/test_conversation_responses.py b/tests/integration/responses/test_conversation_responses.py index bbd861e0d..ce249f6a0 100644 --- a/tests/integration/responses/test_conversation_responses.py +++ b/tests/integration/responses/test_conversation_responses.py @@ -88,6 +88,7 @@ class TestConversationResponses: assert "apple" in response.output_text.lower() + @pytest.mark.timeout(60, method="thread") def test_conversation_error_handling(self, openai_client, text_model_id): """Test error handling for invalid and nonexistent conversations.""" # Invalid conversation ID format