10 writes to MaxAttempts
Microsoft.DotNet.Build.Tasks.Feed (3)
src\common\AzureStorageUtils.cs (1)
97MaxAttempts = 5,
src\common\GeneralUtils.cs (1)
31MaxAttempts = 5
src\PublishArtifactsInManifestBase.cs (1)
218MaxAttempts = 5,
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};
Microsoft.DotNet.Deployment.Tasks.Links (2)
Microsoft.DotNet.Helix.Sdk (1)
FindDotNetCliPackage.cs (1)
21MaxAttempts = 10,
8 references to MaxAttempts
Microsoft.Arcade.Common (2)
ExponentialRetry.cs (2)
43for (int i = 0; i < MaxAttempts; i++) 45string attempt = $"Attempt {i + 1}/{MaxAttempts}";
Microsoft.DotNet.Build.Tasks.Feed (3)
src\common\AzureStorageUtils.cs (1)
123throw new Exception($"Failed to upload local file '{filePath}' to '{blobPath} in {retryHandler.MaxAttempts} attempts. See inner exception for details.", mostRecentlyCaughtException);
src\PublishArtifactsInManifestBase.cs (2)
955$"Failed to get container id after {RetryHandler.MaxAttempts} attempts. See inner exception for details, {mostRecentlyCaughtException}"); 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);