-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CCIP 1766 - Curse And Uncurse RMN and soak #602
Conversation
} | ||
errGrp.Go(func() error { | ||
lane.Logger.Info().Msg("Validating no CommitReportAccepted event is received for 29 minutes") | ||
return lane.Dest.AssertNoReportAcceptedEventReceived(lane.Logger, 29*time.Minute, curseTimeStamp.Add(30*time.Second)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why add 30sec?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just a buffer, to ensure that if already some transmission txs are in mempool by the time it was cursed, those txs might generate some events when gets confirmed. Adding 30s to let all pending txs go through and then check for the events.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but you cannot be sure mempool is empty, why not check it?
5976692
to
9298f85
Compare
Motivation
Validate cursing halts the lane for 30 min.
Solution
Added test TestLoadCCIPStableRPSAfterARMCurseAndUncurse