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