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-4803 flaky test: don't send nil to errorChan #1597

Closed
wants to merge 1 commit into from

Conversation

bukata-sa
Copy link
Contributor

Motivation

Sometimes request manages to complete within unrealistic timeout and fails with panic: runtime error: invalid memory address or nil pointer dereference because in that case it sends nil in errorChan

Solution

Don't send nil into errorChan. Test still will be able to detect faulty behaviour if err is defined in test case if tc.err != ""

@bukata-sa bukata-sa requested a review from a team as a code owner January 14, 2025 07:58
@bukata-sa bukata-sa closed this Jan 14, 2025
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.

1 participant