4 writes to RetryHandler
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
PublishToSymbolServerTest.cs (4)
192publishTask.RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }; 235publishTask.RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }; 278publishTask.RetryHandler = new ExponentialRetry() { MaxAttempts = 2, DelayBase = 1 }; 341publishTask.RetryHandler = new ExponentialRetry() {MaxAttempts = 3, DelayBase = 1};
7 references to RetryHandler
Microsoft.DotNet.Build.Tasks.Feed (4)
src\PublishArtifactsInManifestBase.cs (4)
914bool success = await RetryHandler.RunAsync(async attempt => 955$"Failed to get container id after {RetryHandler.MaxAttempts} attempts. See inner exception for details, {mostRecentlyCaughtException}"); 979bool success = await RetryHandler.RunAsync(async attempt => 1022$"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)
219Assert.Contains($"Failed to download local file '{path}' after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details.", actualError.Message); 262Assert.Contains($"Failed to download local file '{path}' after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details.", actualError.Message); 367Assert.Contains($"Failed to get container id after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details,", actualError.Message);