1 write to MaxRetryCount
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishArtifactsInManifestTests.cs (1)
101
MaxRetryCount
= 5, // In case the default changes, lock to 5 so the test data works
4 references to MaxRetryCount
Microsoft.DotNet.Build.Tasks.Feed (3)
src\PublishArtifactsInManifestBase.cs (3)
1428
attemptIndex <=
MaxRetryCount
); // Give up: Too many retries
1432
Log.LogError($"Failed to publish package '{id}@{version}' to '{feedConfig.TargetURL}' after {
MaxRetryCount
} attempts. (Final status: {packageStatus})");
1717
if (attempts ==
MaxRetryCount
)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
PublishArtifactsInManifestTests.cs (1)
151
timesNugetExeCalled.Should().BeLessOrEqualTo(task.
MaxRetryCount
);