Skip to content

Commit a16a383

Browse files
authored
Testing: Do not configure HttpClient resilience by default (dotnet#3845)
1 parent cea412a commit a16a383

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Aspire.Hosting.Testing/DistributedApplicationFactoryOfT.cs

-3
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,8 @@ private void OnBuilderCreatedCore(DistributedApplicationBuilder applicationBuild
148148

149149
private void OnBuildingCore(DistributedApplicationBuilder applicationBuilder)
150150
{
151-
// Patch DcpOptions configuration
152151
var services = applicationBuilder.Services;
153-
154152
services.AddHttpClient();
155-
services.ConfigureHttpClientDefaults(http => http.AddStandardResilienceHandler());
156153

157154
InterceptHostCreation(applicationBuilder);
158155

0 commit comments

Comments
 (0)