Skip to content

Commit cb7c5cd

Browse files
jucorclaude
andcommitted
Fail test_conversation_from_postgres fast when DynamoDB is unavailable
Add require_dynamodb() guard so the test fails in ~3s instead of hanging for minutes on a TCP connection to a stopped DynamoDB. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 255b745 commit cb7c5cd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

delphi/tests/test_postgres_real_data.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,9 @@ def test_conversation_from_postgres():
521521
"""
522522
Test processing a conversation with data from PostgreSQL.
523523
"""
524+
from tests.conftest import require_dynamodb
525+
require_dynamodb()
526+
524527
import time
525528
start_time = time.time()
526529

0 commit comments

Comments
 (0)