-
Notifications
You must be signed in to change notification settings - Fork 10
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
Improve batch error handling #72
Improve batch error handling #72
Conversation
Addresses IDX-469 Signed-off-by: philhassey <[email protected]>
Addresses IDX-405 Signed-off-by: philhassey <[email protected]>
Addresses IDX-469 Signed-off-by: philhassey <[email protected]>
Addresses IDX-469 Signed-off-by: philhassey <[email protected]>
…essing Addresses IDX-469 Signed-off-by: philhassey <[email protected]>
) | ||
testutil.ErrorIs(t, err, errWant) | ||
testutil.Equals(t, total, 2) | ||
}) |
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.
Maybe add one more test case here that both returns an error and does a context cancel, and verifies that the returned error is both? As I think no tests here are currently exercising the behaviour that the callback error is joined with the context error.
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.
Looks good, with perhaps the addition of the one more test case suggested.
…joined Addresses IDX-469 Signed-off-by: philhassey <[email protected]>
This PR changes two things: