Skip to content

Commit

Permalink
chore: rephrase flaky warning message for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Feb 7, 2024
1 parent 09ad7a6 commit de87239
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script/actions_utils/pytest_failed_test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ def write_failed_tests_comment(failed_tests_comment_path: Path, failed_tests_rep

# Write the comment's title and main header
if failed_tests_report["all_failed_tests_are_flaky"]:
f.write("## :warning: Known flaky tests have been re-run :warning:\n\n")
f.write("## :warning: Known flaky tests have been rerun :warning:\n\n")
failed_tests_header = (
"One or several tests initially failed but were detected as known flaky tests. "
"They therefore have been re-run and passed. See below for more details.\n\n"
"One or several tests initially failed but were identified as known flaky. "
"tests. Therefore, they have been rerun and passed. See below for more "
"details.\n\n"
)
else:
f.write("## ❌ Some tests failed after re-run ❌\n\n")
Expand Down

0 comments on commit de87239

Please sign in to comment.