Skip to content

Commit 6bb1707

Browse files
authored
.Net: Increased timeout for integration tests (#10403)
1 parent 2537edb commit 6bb1707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/src/IntegrationTests/BaseIntegrationTest.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ protected IKernelBuilder CreateKernelBuilder()
2222
o.Retry.ShouldHandle = args => ValueTask.FromResult(args.Outcome.Result?.StatusCode is HttpStatusCode.TooManyRequests);
2323
o.CircuitBreaker = new HttpCircuitBreakerStrategyOptions
2424
{
25-
SamplingDuration = TimeSpan.FromSeconds(40.0), // The duration should be least double of an attempt timeout
25+
SamplingDuration = TimeSpan.FromSeconds(60.0), // The duration should be least double of an attempt timeout
2626
};
2727
o.AttemptTimeout = new HttpTimeoutStrategyOptions
2828
{
29-
Timeout = TimeSpan.FromSeconds(20.0) // Doubling the default 10s timeout
29+
Timeout = TimeSpan.FromSeconds(30.0)
3030
};
3131
});
3232
});

0 commit comments

Comments
 (0)