Skip to content

Commit

Permalink
comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
KathanS committed Nov 21, 2024
1 parent 9c0b800 commit 7baf5a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Agent.Worker/TestResults/TestDataPublisher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ public void InitializePublisher(IExecutionContext context, string projectName, V
TestResultUtils.StoreTestRunSummaryInEnvVar(_executionContext, testRunSummary, _testRunner, "PublishTestResults");
}

// Check failed results for flaky aware
// Fallback to flaky aware if there are any failures.
if (isTestRunOutcomeFailed && _isFlakyCheckEnabled)
{
var runOutcome = _testRunPublisherHelper.CheckRunsForFlaky(publishedRuns, _projectName);
Expand Down

0 comments on commit 7baf5a6

Please sign in to comment.