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 93df3b7 commit d798e6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/jenkins/test-flake-chart/report_flakes/report_flake.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ func generateCommentMessage(summaries map[string]*shortSummary, flakeRates map[s
for env, summary := range summaries {
failedTestList := []failedTest{}
for _, test := range summary.FailedTests {
// if we cannot find the test, we assign the flake rate as -1, meaning N/A
// if we cannot find the test, we assign the flake rate
// as -1, meaning N/A
flakerate := unknown
if v, ok := flakeRates[env][test]; ok {
flakerate = v
Expand Down

0 comments on commit d798e6c

Please sign in to comment.