11 references to Reason
Infrastructure.Tests (11)
WorkflowScripts\AutoRerunTransientCiFailuresTests.cs (11)
41Assert.Equal("Job-level runner or infrastructure failure matched the transient allowlist.", result.RetryableJobs[0].Reason); 54Assert.Equal("Failed step 'Checkout code' matched the transient annotation allowlist.", result.RetryableJobs[0].Reason); 67Assert.Equal("Failed steps are outside the retry-safe allowlist.", result.SkippedJobs[0].Reason); 80Assert.Equal("Annotations did not match the transient allowlist.", result.SkippedJobs[0].Reason); 108Assert.Equal("Annotations did not match the transient allowlist.", result.SkippedJobs[0].Reason); 120Assert.Equal("Ignored failed step 'Run tests (Windows)' matched the job-level infrastructure override allowlist.", result.RetryableJobs[0].Reason); 141result.RetryableJobs[0].Reason); 159Assert.Equal("Annotations did not match the transient allowlist.", result.SkippedJobs[0].Reason); 174Assert.Equal("Ignored failed step 'Build test project' matched the feed network failure override allowlist.", result.RetryableJobs[0].Reason); 193Assert.Equal($"Ignored failed step '{failedStep}' matched the feed network failure override allowlist.", result.RetryableJobs[0].Reason); 209Assert.Equal("Annotations did not match the transient allowlist.", result.SkippedJobs[0].Reason);