From de87239b95971abca38ed9878e95e98f32dc7064 Mon Sep 17 00:00:00 2001 From: Roman Bredehoft Date: Wed, 7 Feb 2024 10:15:10 +0100 Subject: [PATCH] chore: rephrase flaky warning message for PRs --- script/actions_utils/pytest_failed_test_report.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/script/actions_utils/pytest_failed_test_report.py b/script/actions_utils/pytest_failed_test_report.py index 2ed6301ad6..add42f574a 100755 --- a/script/actions_utils/pytest_failed_test_report.py +++ b/script/actions_utils/pytest_failed_test_report.py @@ -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")