Skip to content

Reorganize timeout config tests - #491

Merged
florimondmanca merged 1 commit into
masterfrom
refactor/timeout-tests
Oct 22, 2019
Merged

Reorganize timeout config tests#491
florimondmanca merged 1 commit into
masterfrom
refactor/timeout-tests

Conversation

@florimondmanca

Copy link
Copy Markdown
Contributor

Just a bit of moving timeout config tests around so they're all close to one another, and add one or two tests for the default cases. Would help reduce the scope of #490.

@florimondmanca
florimondmanca requested a review from a teamOctober 20, 2019 12:36
@florimondmancaflorimondmanca added the refactor Issues and PRs related to code refactoring label Oct 20, 2019
@lovelydinosaur

Copy link
Copy Markdown
Contributor

Happy enough with this, sure.
Not obvs that eg. test_timeout_from_nothing is ultimately the behavior that we want or not, but if it expresses the existing behaviour and is then adapted then that's fine.

@florimondmanca

Copy link
Copy Markdown
ContributorAuthor

Not obvs that eg. test_timeout_from_nothing is ultimately the behavior that we want or not, but if it expresses the existing behaviour and is then adapted then that's fine.

Exactly — this PR explicits the current behavior we have so that we can potentially adapt it when fixing #433. :)

@florimondmanca
florimondmanca merged commit e3140a0 into masterOct 22, 2019
@florimondmanca
florimondmanca deleted the refactor/timeout-tests branch October 22, 2019 20:04
Kludex referenced this pull request in pydantic/httpx2 May 11, 2026
…#491)
* Use 'socks5://' for the protocol in SOCKS proxy docs. Not 'socks://'
* Defensive programming around removing request status from the connection pool
* Tighten up behaviour around exceptions during streaming responses
* Call response_closed on async cancellations, KeyboardInterupts
* Include number of requests in-flight in exception if pool is closed early
* Update CHANGELOG.md
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactorIssues and PRs related to code refactoring

Development

Successfully merging this pull request may close these issues.

2 participants

@florimondmanca@lovelydinosaur