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.
This commit is contained in:
Omar Abdelwahab 2025-11-13 18:46:27 -08:00
parent 50cae44dd0
commit 8d30c4018d

View file

@ -88,6 +88,7 @@ class TestConversationResponses:
assert "apple" in response.output_text.lower() assert "apple" in response.output_text.lower()
@pytest.mark.timeout(60, method="thread")
def test_conversation_error_handling(self, openai_client, text_model_id): def test_conversation_error_handling(self, openai_client, text_model_id):
"""Test error handling for invalid and nonexistent conversations.""" """Test error handling for invalid and nonexistent conversations."""
# Invalid conversation ID format # Invalid conversation ID format