helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.5k stars 566 forks source link

4.x: Intermittent test failure in `io.helidon.webserver.tests.http2.FlowControlTest` #9122

Open tomas-langer opened 1 month ago

tomas-langer commented 1 month ago

io.helidon.webserver.tests.http2.FlowControlTest.flowControlWebClientInOut Time elapsed: 0.402 s <<< FAILURE! java.lang.AssertionError:

Expected: is "Helidon!!..."
but: was ""
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
    at io.helidon.webserver.tests.http2.FlowControlTest.flowControlWebClientInOut(FlowControlTest.java:177)

io.helidon.webserver.tests.http2.FlowControlTest.flowControlWebClientInbound  Time elapsed: 30.003 s  <<< ERROR!
io.helidon.webclient.http2.StreamTimeoutException: No data received on stream 3 within the timeout PT30S
    at io.helidon.webclient.http2.StreamBuffer.poll(StreamBuffer.java:47)
    at io.helidon.webclient.http2.Http2ClientStream.readOne(Http2ClientStream.java:387)
    at io.helidon.webclient.http2.Http2ClientStream.readHeaders(Http2ClientStream.java:363)
    at io.helidon.webclient.http2.Http2CallChainBase.readResponse(Http2CallChainBase.java:188)
    at io.helidon.webclient.http2.Http2CallEntityChain.doProceed(Http2CallEntityChain.java:77)
    at io.helidon.webclient.http2.Http2CallChainBase.proceed(Http2CallChainBase.java:124)
    at io.helidon.webclient.api.ClientRequestBase.invokeServices(ClientRequestBase.java:406)
    at io.helidon.webclient.http2.Http2ClientRequestImpl.invokeWithServices(Http2ClientRequestImpl.java:177)
    at io.helidon.webclient.http2.Http2ClientRequestImpl.invokeEntity(Http2ClientRequestImpl.java:167)
    at io.helidon.webclient.http2.RedirectionProcessor.invokeWithFollowRedirects(RedirectionProcessor.java:60)
    at io.helidon.webclient.http2.Http2ClientRequestImpl.doSubmit(Http2ClientRequestImpl.java:104)
    at io.helidon.webclient.http2.Http2ClientRequestImpl.doSubmit(Http2ClientRequestImpl.java:30)
    at io.helidon.webclient.api.ClientRequestBase.validateAndSubmit(ClientRequestBase.java:463)
    at io.helidon.webclient.api.ClientRequestBase.request(ClientRequestBase.java:261)
    at io.helidon.webclient.http2.Http2ClientRequestImpl.request(Http2ClientRequestImpl.java:30)
    at io.helidon.webserver.tests.http2.FlowControlTest.flowControlWebClientInbound(FlowControlTest.java:189)
danielkec commented 1 month ago

Hard to reproduce image