From c9e6a42d289a7886931d8d2c345511fe3071fa51 Mon Sep 17 00:00:00 2001 From: Damian Edwards Date: Wed, 24 Apr 2024 14:09:23 -0700 Subject: [PATCH] Update WebAppTests.cs --- src/IntegrationTests/WebAppTests.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/IntegrationTests/WebAppTests.cs b/src/IntegrationTests/WebAppTests.cs index c8d507e..cf81b6c 100644 --- a/src/IntegrationTests/WebAppTests.cs +++ b/src/IntegrationTests/WebAppTests.cs @@ -13,12 +13,12 @@ public async Task GetWebAppUrlsReturnsOkStatusCode() { client.AddStandardResilienceHandler(options => { - options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(300); - options.AttemptTimeout.Timeout = TimeSpan.FromSeconds(30); + options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(360); + options.AttemptTimeout.Timeout = TimeSpan.FromSeconds(120); options.Retry.BackoffType = Polly.DelayBackoffType.Constant; options.Retry.Delay = TimeSpan.FromSeconds(5); options.Retry.MaxRetryAttempts = 100; - options.CircuitBreaker.SamplingDuration = TimeSpan.FromSeconds(60); + options.CircuitBreaker.SamplingDuration = options.AttemptTimeout.Timeout * 2; }); });