-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
integration-tests/smoke/ccip: add max batch size test #15403
Conversation
case <-ctx.Done(): | ||
require.FailNow(t, "didn't get all errors before test context was done") | ||
} | ||
} |
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.
nit: maybe cleaner with sync.WaitGroup
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.
Unfortunately, need the errors from the channel to check them
e.Env.Chains[sourceChain].DeployerKey, | ||
otherSender, | ||
} | ||
errs = make(chan error, len(transactors)) |
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.
I guess channel's size should be 0 or 1 https://github.com/uber-go/guide/blob/master/style.md#channel-size-is-one-or-none
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.
Actually did not work with an unbuffered channel, I tried that initially
Ticket: https://smartcontract-it.atlassian.net/browse/CCIP-4168