From 1d4d5d5b0fe8137bfe74d9fa10371d8f850be2bf Mon Sep 17 00:00:00 2001 From: Medya Ghazizadeh Date: Tue, 9 Jul 2024 15:19:26 -0700 Subject: [PATCH] Update hack/jenkins/test-flake-chart/report_flakes/report_flake.go Co-authored-by: Steven Powell <44844360+spowelljr@users.noreply.github.com> --- hack/jenkins/test-flake-chart/report_flakes/report_flake.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hack/jenkins/test-flake-chart/report_flakes/report_flake.go b/hack/jenkins/test-flake-chart/report_flakes/report_flake.go index 8842919abc7d..be25f45f7475 100644 --- a/hack/jenkins/test-flake-chart/report_flakes/report_flake.go +++ b/hack/jenkins/test-flake-chart/report_flakes/report_flake.go @@ -174,8 +174,9 @@ func generateCommentMessage(summaries map[string]*shortSummary, flakeRates map[s // title of the table {"Environment", "Test Name", "Flake Rate"}, } - // if an env has too much failures we will just skip it and print a message in the end - // if the failed tests have high flake rates(over 50% for all), it will also be skipped in the table + // if an env has too many failures we will just skip it and print a + // message in the end if the failed tests have high flake rates (over + // 50% for all), it will also be skipped in the table foldedFailures := []string{} for env, list := range envFailedTestList { if len(list) > maxItemEnv {