Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing: Do not configure HttpClient resilience by default #3845

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

ReubenBond
Copy link
Member

@ReubenBond ReubenBond commented Apr 19, 2024

Since it is not straightforward to configure resilience policies after the handler has been added (see dotnet/extensions#4814), we decided to remove these from the testing host so that developers are free to choose how resilience is configured in test projects.

cc @DamianEdwards

Fixes #3431

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Apr 19, 2024
@DamianEdwards DamianEdwards added area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing and removed area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication labels Apr 19, 2024
@radical
Copy link
Member

radical commented Apr 19, 2024

Does this need a corresponding update in docs somewhere?

@ReubenBond
Copy link
Member Author

We don't have docs for this area yet, so kind-of

@dotnet dotnet deleted a comment from github-actions bot Apr 19, 2024
@dotnet dotnet deleted a comment from github-actions bot Apr 19, 2024
@ReubenBond
Copy link
Member Author

/backport to release/8.0

Copy link
Contributor

Started backporting to release/8.0: https://github.com/dotnet/aspire/actions/runs/8759439359

@ReubenBond ReubenBond merged commit a16a383 into main Apr 19, 2024
8 checks passed
@ReubenBond ReubenBond deleted the rebond/testing/remove-resiliency-policy branch April 19, 2024 21:12
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-testing Issues pertaining to the APIs in Aspire.Hosting.Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot override default HttpClient resiliency settings when using CreateHttpClient from Aspire.Hosting.Testing
3 participants