We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6731451 commit 91d687cCopy full SHA for 91d687c
scripts/gha/integration_testing/automated_testapp/AutomatedTestRunner.cs
@@ -385,8 +385,8 @@ public void LogResult() {
385
}
386
387
public void CollectWarnings(List<string> warnings) {
388
- // Add a warning if multiple attempts were made.
389
- if (TookMultipleAttempts) {
+ // Add a warning if multiple attempts were made and it passed.
+ if (TookMultipleAttempts && Status == AutomatedTestStatus.Succeeded) {
390
warnings.Add(String.Format("Test {0} took {1} of {2} attempts to pass (Possible Flake).",
391
Description, currentAttempt, maxAttempts));
392
0 commit comments