Skip to content

Commit

Permalink
Update hack/jenkins/test-flake-chart/report_flakes/report_flake.go
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Powell <[email protected]>
  • Loading branch information
medyagh and spowelljr committed Jul 9, 2024
1 parent ab3d589 commit 1d4d5d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hack/jenkins/test-flake-chart/report_flakes/report_flake.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1d4d5d5

Please sign in to comment.