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