Skip to content

Accept more types of failures when retrying HTTP requests in tests#6063

Merged
lbussell merged 2 commits intodotnet:nightlyfrom
lbussell:fix-local-tests
Nov 19, 2024
Merged

Accept more types of failures when retrying HTTP requests in tests#6063
lbussell merged 2 commits intodotnet:nightlyfrom
lbussell:fix-local-tests

Conversation

@lbussell
Copy link
Member

@lbussell lbussell commented Nov 15, 2024

This change fixes some issues when testing images locally. Some web tests would fail with the message: "The response ended prematurely".

Now, we only short-circuit the retry loop if the container crashed or never started for some reason.

@lbussell lbussell requested a review from mthalman November 19, 2024 16:33
@lbussell lbussell enabled auto-merge (squash) November 19, 2024 16:40
@lbussell lbussell merged commit b09c52c into dotnet:nightly Nov 19, 2024
lbussell added a commit to lbussell/dotnet-docker that referenced this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants