16 references to Retry
Aspire.EndToEnd.Tests (2)
tests\Shared\WorkloadTesting\AspireProject.cs (2)
477
options.
Retry
.OnRetry = async (args) =>
489
options.
Retry
.MaxRetryAttempts = 20;
Aspire.Playground.Tests (1)
AppHostTests.cs (1)
132
resilience.
Retry
.MaxRetryAttempts = 30;
Aspire.Workload.Tests (2)
tests\Shared\WorkloadTesting\AspireProject.cs (2)
477
options.
Retry
.OnRetry = async (args) =>
489
options.
Retry
.MaxRetryAttempts = 20;
Microsoft.Extensions.Http.Resilience (1)
Resilience\ResilienceHttpClientBuilderExtensions.StandardResilience.cs (1)
85
.AddRetry(options.
Retry
)
Microsoft.Extensions.Http.Resilience.Tests (10)
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (3)
125
options.
Retry
.ShouldHandle = _ => PredicateResult.True();
126
options.
Retry
.MaxRetryAttempts = 1;
127
options.
Retry
.Delay = TimeSpan.Zero;
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (3)
193
options.
Retry
.MaxRetryAttempts = -3;
238
options.
Retry
.Delay = TimeSpan.Zero;
239
options.
Retry
.BackoffType = DelayBackoffType.Constant;
Resilience\HttpStandardResilienceOptionsCustomValidatorTests.cs (3)
62
options.
Retry
.MaxRetryAttempts = 1;
63
options.
Retry
.BackoffType = DelayBackoffType.Linear;
64
options.
Retry
.Delay = options.TotalRequestTimeout.Timeout;
Resilience\HttpStandardResilienceOptionsTests.cs (1)
22
_options.
Retry
.Name.Should().Be("Standard-Retry");