Skip to content

Commit

Permalink
remove log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoluisam committed Dec 21, 2024
1 parent 0824d90 commit 7f6d3df
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions integration-tests/ccip-tests/actions/ccip_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2668,9 +2668,6 @@ func (destCCIP *DestCCIPModule) AssertMessageContentMatch(
// Load the message content from the watcher
value, ok := destCCIP.MessageReceivedWatcher.Load(messageID)
if !ok {
lggr.Warn().
Str("MsgID", fmt.Sprintf("0x%x", messageID)).
Msg("Message still not found in MessageReceivedWatcher")
continue
}

Expand Down Expand Up @@ -2700,15 +2697,15 @@ func (destCCIP *DestCCIPModule) AssertMessageContentMatch(
// Handle timeout with potential connection issue recovery
if destCCIP.Common.IsConnectionRestoredRecently != nil && !destCCIP.Common.IsConnectionRestoredRecently.Load() {
if resetTimerCount > 2 {
return fmt.Errorf("possible RPC issue - message content did not match for MessageID %s", messageID)
return fmt.Errorf("possible RPC issue - message content did not match for MessageID 0x%x", messageID)
}
timer.Reset(timeout)
resetTimerCount++
lggr.Info().Int("count of reset", resetTimerCount).Msg("Resetting timer to validate message content match")
continue
}

return fmt.Errorf("timeout - message content did not match for MessageID %s", messageID)
return fmt.Errorf("timeout - message was not received or content did not match for MessageID 0x%x", messageID)
}
}
}
Expand Down

0 comments on commit 7f6d3df

Please sign in to comment.