-
Notifications
You must be signed in to change notification settings - Fork 71
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
Pass string to ObjectMapper instead of InputStream #531
Conversation
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
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.
@vinokurig can we add some tests for the fix?
@ibuziuk This is already covered with tests. The issue is that we can not reproduce the error in our known environment. |
@artaleks9 could you please take a look why ci/prow/v12-github-with-pat-setup-flow is failing? |
/retest |
Can we be sure that this does not affect the current behavior? |
I have tested this with GitHub flow, all API clients are covered with tests. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ibuziuk, tolusha, vinokurig The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pass string to ObjectMapper instead of InputStream in order to avoid No content to map due to end-of-input error caused by jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream. An error was discovered in our customers environment
Pass string to ObjectMapper instead of InputStream in order to avoid No content to map due to end-of-input error caused by jdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream. An error was discovered in our customers environment
Build 3.9 :: server_3.x/185: Console, Changes, Git Data |
Build 3.9 :: sync-to-downstream_3.x/3769: Console, Changes, Git Data |
Build 3.9 :: push-latest-container-to-quay_3.x/2730: Console, Changes, Git Data |
Build 3.9 :: get-sources-rhpkg-container-build_3.x/3617: server : 3.x :: Build 53944826 : quay.io/devspaces/server-rhel8:3.9-1 |
Build 3.9 :: server_3.x/185: Upstream sync done; /DS_CI/sync-to-downstream_3.x/3769 triggered |
Build 3.9 :: update-digests_3.x/3681: Console, Changes, Git Data |
Build 3.9 :: operator-bundle_3.x/1598: Console, Changes, Git Data |
Build 3.9 :: server_3.x/186: Console, Changes, Git Data |
Build 3.9 :: sync-to-downstream_3.x/3774: Console, Changes, Git Data |
Build 3.9 :: server_3.x/187: Console, Changes, Git Data |
Build 3.9 :: sync-to-downstream_3.x/3807: Console, Changes, Git Data |
Build 3.9 :: get-sources-rhpkg-container-build_3.x/3656: server : 3.x :: Failed in 54128420 : BREW:BUILD/STATUS:UNKNOWN |
What does this PR do?
Pass string to ObjectMapper instead of InputStream in order to avoid
No content to map due to end-of-input
error caused byjdk.internal.net.http.ResponseSubscribers$HttpResponseInputStream
.An error was discovered in our customers environment:
Screenshot/screencast of this PR
What issues does this PR fix or reference?
https://issues.redhat.com/browse/CRW-4551
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.