4 writes to RetryHandler
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
PublishToSymbolServerTest.cs (4)
272
publishTask.
RetryHandler
= new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 };
315
publishTask.
RetryHandler
= new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 };
358
publishTask.
RetryHandler
= new ExponentialRetry() { MaxAttempts = 2, DelayBase = 1 };
421
publishTask.
RetryHandler
= new ExponentialRetry() {MaxAttempts = 3, DelayBase = 1};
7 references to RetryHandler
Microsoft.DotNet.Build.Tasks.Feed (4)
src\PublishArtifactsInManifestBase.cs (4)
900
bool success = await
RetryHandler
.RunAsync(async attempt =>
940
$"Failed to get container id after {
RetryHandler
.MaxAttempts} attempts. See inner exception for details, {mostRecentlyCaughtException}");
964
bool success = await
RetryHandler
.RunAsync(async attempt =>
997
$"Failed to download local file '{path}' after {
RetryHandler
.MaxAttempts} attempts. See inner exception for details.", mostRecentlyCaughtException);
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PublishToSymbolServerTest.cs (3)
299
Assert.Contains($"Failed to download local file '{path}' after {publishTask.
RetryHandler
.MaxAttempts} attempts. See inner exception for details.", actualError.Message);
342
Assert.Contains($"Failed to download local file '{path}' after {publishTask.
RetryHandler
.MaxAttempts} attempts. See inner exception for details.", actualError.Message);
447
Assert.Contains($"Failed to get container id after {publishTask.
RetryHandler
.MaxAttempts} attempts. See inner exception for details,", actualError.Message);