RFR: 8255227: java/net/httpclient/FlowAdapterPublisherTest.java intermittently failing with TestServer: start exception: java.io.IOException: Invalid preface
Chris Hegarty
chegar at openjdk.java.net
Fri Apr 30 13:44:59 UTC 2021
On Fri, 30 Apr 2021 10:46:33 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> Hi,
>
> I stumbled on an issue in Stream.java where an assert was misplaced, preventing the proper IOException to be triggered. I believe this is what caused the FlowAdapterPublisherTest.java to fail with the "Invalid Preface" error on the server side.
> In any case - I haven't observed this error again after tweaking the assert.
>
> I have also updated the server side to print better diagnostic in case the Invalid Preface strikes again in the future...
Marked as reviewed by chegar (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/3813
More information about the net-dev
mailing list