13 writes to TestRefs
AnalyzeCiFailure.Tests (13)
AnalyzeCiFailureBestEffortTests.cs (1)
32
JobIds = [123],
TestRefs
= [], Reason = "Claimed repository failure",
AnalyzeCiFailureFixtures.cs (3)
47
JobIds = evidence.Jobs.Select(job => job.Id).ToImmutableArray(),
TestRefs
= [], Reason = "Runner lost",
207
return (ProposedCause)new ExistingCauseProposal { Id = id, JobIds = jobIds,
TestRefs
= references, Reason = "Recorded mechanism" };
219
TestRefs
= references,
AnalyzeCiFailureMigrationTests.cs (4)
53
JobIds = [123],
TestRefs
= ["test-1"], Reason = "Timeout",
166
JobIds = [123],
TestRefs
= failures.Select(test => test.Ref).ToImmutableArray(), Reason = "Timeouts",
386
Causes = [new ExistingCauseProposal { Id = created.Definition.Id, JobIds = created.JobIds,
TestRefs
= created.TestRefs, Reason = created.Reason }],
528
TestRefs
= evidence.TestEvidence.Failures.Select(test => test.Ref).ToImmutableArray(),
AnalyzeCiFailureOverflowTests.cs (1)
277
JobIds = [123],
TestRefs
= [test.Ref], Reason = "Distinct observed mechanism",
AnalyzeCiFailurePreparationTests.cs (1)
717
? created with {
TestRefs
= evidence.TestEvidence.Failures.Where(test => test.JobId == 124).Select(test => test.Ref).ToImmutableArray() }
AnalyzeCiFailureTransientContractTests.cs (2)
209
JobIds = [9007199254740992],
TestRefs
= [], Reason = "Runner connection was interrupted",
222
Causes = [new ExistingCauseProposal { Id = "runner-lost", JobIds = [9007199254740992],
TestRefs
= [], Reason = "Same runner failure" }],
AnalyzeCiFailureWorkflowTests.cs (1)
710
Causes = [new AnalyzeCiFailure.ExistingCauseProposal { Id = "nuget-timeout", JobIds = cause.JobIds,
TestRefs
= cause.TestRefs, Reason = cause.Reason }],
7 references to TestRefs
AnalyzeCiFailure (5)
AnalysisValidator.cs (5)
189
if (proposal.JobIds.IsDefaultOrEmpty || proposal.
TestRefs
.IsDefault ||
191
proposal.
TestRefs
.Distinct(StringComparer.Ordinal).Count() != proposal.
TestRefs
.Length ||
232
if (type != CauseType.FlakyTest && proposal.
TestRefs
.Length > 0)
236
var references = proposal.
TestRefs
.Select(reference =>
AnalyzeCiFailure.Tests (2)
AnalyzeCiFailureMigrationTests.cs (1)
386
Causes = [new ExistingCauseProposal { Id = created.Definition.Id, JobIds = created.JobIds, TestRefs = created.
TestRefs
, Reason = created.Reason }],
AnalyzeCiFailureWorkflowTests.cs (1)
710
Causes = [new AnalyzeCiFailure.ExistingCauseProposal { Id = "nuget-timeout", JobIds = cause.JobIds, TestRefs = cause.
TestRefs
, Reason = cause.Reason }],