Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant