Skip to content

Commit

Permalink
update slack msg (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnieeG authored Feb 20, 2024
1 parent ea1bbe5 commit 4fd063f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-tests/ccip-tests/testreporters/ccip.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,17 +236,17 @@ func (r *CCIPTestReporter) SendSlackNotification(t *testing.T, slackClient *slac
for name, lane := range r.LaneStats {
if lane.FailedCountsByPhase[E2E] > 0 {
msgTexts = append(msgTexts,
fmt.Sprintf(":x: Run Failed for lane %s :x:", name),
fmt.Sprintf("lane %s :x:", name),
fmt.Sprintf(
"Run Duration = %.0fm "+
"\nNumber of ccip-send= %d"+
"\nNo of failed requests = %d", r.duration.Minutes(), lane.TotalRequests, lane.FailedCountsByPhase[E2E]))
} else {
msgTexts = append(msgTexts,
fmt.Sprintf("lane %s :white_check_mark:", name),
fmt.Sprintf(
"Run Duration = %.0fm "+
"\nNumber of ccip-send= %d"+
"\n All requests were successful", r.duration.Minutes(), lane.TotalRequests))
"\nNumber of ccip-send= %d", r.duration.Minutes(), lane.TotalRequests))
}
}

Expand Down

0 comments on commit 4fd063f

Please sign in to comment.