3 writes to RetryHandler
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
DownloadFileTests.cs (3)
270
RetryHandler
= new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }
306
RetryHandler
= new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }
380
RetryHandler
= new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }
6 references to RetryHandler
Microsoft.DotNet.Build.Tasks.Feed (4)
src\PublishArtifactsInManifestBase.cs (4)
938
bool success = await
RetryHandler
.RunAsync(async attempt =>
960
$"Failed to download '{path}' after {
RetryHandler
.MaxAttempts} attempts. See inner exception for details.",
972
bool success = await
RetryHandler
.RunAsync(async attempt =>
1025
$"Failed to construct download URL helper after {
RetryHandler
.MaxAttempts} attempts. See inner exception for details, {mostRecentlyCaughtException}");
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
DownloadFileTests.cs (2)
290
actualError.WithMessage($"Failed to construct download URL helper after {publishTask.
RetryHandler
.MaxAttempts} attempts. See inner exception for details*");
362
actualError.WithMessage($"Failed to download '{path}' after {publishTask.
RetryHandler
.MaxAttempts} attempts. See inner exception for details.");