-
Notifications
You must be signed in to change notification settings - Fork 3
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
test: adds integration test for handling flightRuntimeExceptions. #203
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #203 +/- ##
=======================================
Coverage 89.71% 89.71%
=======================================
Files 18 18
Lines 963 963
Branches 150 150
=======================================
Hits 864 864
Misses 39 39
Partials 60 60 ☔ View full report in Codecov by Sentry. |
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.
@karel-rehor thanks for PR 👍
LGTM 🚀
Motivated by EAR 5718, useful exception INVALID_ARGUMENT was being masked by | ||
INTERNAL: http2 exception - Header size exceeded max allowed size (10240). | ||
*/ | ||
public String makeLengthyTag(final int length, final int maxPartLength, final byte separator) { |
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.
Make this method private and move it to the bottom of the file. Public methods should come first, followed by private methods.
public String makeLengthyTag(final int length, final int maxPartLength, final byte separator) { | |
private String makeLengthyTag(final int length, final int maxPartLength, final byte separator) { |
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.
Updated as suggested.
Related to https://github.com/influxdata/EAR/issues/5718
Proposed Changes
Adds a new integration test in
ITQueryWrite
to verify that errors are returned correctly, or more specifically that theHttp2Exception: Header size exceeded
exception no longer preempts more meaningful exceptions.Checklist