Skip to content
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-5118] Refactor Test_CCIPMessageLimitations logic into helper pkg #16680

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

NourElRashidy
Copy link
Contributor

@NourElRashidy NourElRashidy commented Mar 6, 2025

CCIP-5118

Supports

TODO

  • Refactor smoke test to use the new helpers

Copy link
Contributor

github-actions bot commented Mar 6, 2025

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

Comment on lines +62 to +66
type TestCaseOutput struct {
MsgSentEvent *onramp.OnRampCCIPMessageSent
}

func Run(tc TestCase) TestCaseOutput {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can we use this helper struct + method in the current message limitations test as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is the one item I have left in the TODOs.

@NourElRashidy NourElRashidy marked this pull request as ready for review March 11, 2025 22:37
@NourElRashidy NourElRashidy requested review from a team as code owners March 11, 2025 22:37
}

// Use this when testhelpers.DeployedEnv is not available (usually in long-running test environments like staging).
func NewTestSetup(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: how about using functional opts here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants