13 references to ExponentialRetry
dotnet (1)
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
128bool success = await ExponentialRetry.ExecuteWithRetryOnFailure(async () => await resource.CopyNupkgToStreamAsync(
dotnet.Tests (4)
GivenExponentialRetry.cs (4)
23var res = await ExponentialRetry.ExecuteWithRetryOnFailure<string>(action); 37var res = await ExponentialRetry.ExecuteWithRetryOnFailure<string?>(action, 2, timer: () => ExponentialRetry.Timer(ExponentialRetry.TestingIntervals));
Microsoft.DotNet.PackageInstall.Tests (7)
NuGetPackageInstallerTests.cs (7)
40restoreActionConfig: new RestoreActionConfig(NoCache: true), timer: () => ExponentialRetry.Timer(ExponentialRetry.TestingIntervals)); 43restoreActionConfig: new RestoreActionConfig(NoCache: true), timer: () => ExponentialRetry.Timer(ExponentialRetry.TestingIntervals), shouldUsePackageSourceMapping: true); 297return ExponentialRetry.ExecuteWithRetry<string>( 301timer: () => ExponentialRetry.Timer(ExponentialRetry.Intervals),
Microsoft.NET.TestFramework (1)
Commands\TestCommand.cs (1)
6using static Microsoft.DotNet.Cli.Utils.ExponentialRetry;