Skip to content

Add timeout to URL tests#5370

Open
kingrubic wants to merge 1 commit into
Aider-AI:mainfrom
kingrubic:add-timeout-to-url-test
Open

Add timeout to URL tests#5370
kingrubic wants to merge 1 commit into
Aider-AI:mainfrom
kingrubic:add-timeout-to-url-test

Conversation

@kingrubic

Copy link
Copy Markdown

Summary

  • add an explicit timeout to the URL smoke test requests

Why

The URL smoke test currently calls requests.get() without a timeout. If a remote endpoint accepts the connection but stalls, the test job can hang much longer than intended. A bounded timeout keeps the test behavior predictable while preserving the same status-code assertion.

Tests

  • uv run --no-project --with pytest --with requests python -m pytest tests/basic/test_urls.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant