onceMisery commented on issue #25249:
URL: https://github.com/apache/pulsar/issues/25249#issuecomment-3956289097

   Could you please assign this issue to me?
   ## The root cause is test flakiness caused by using Netty’s EmbeddedChannel 
without reliably driving its event loop.
   
   In 
ServerCnxTest.testCreateProducerTimeoutThenCreateSameNamedProducerShouldFail, 
the test sometimes waits for an outbound protocol response (and fails with 
java.io.IOException: Failed to get response from socket within 
[1](https://github.com/apache/pulsar/issues/25249)0s). 
   1
    The response can be produced asynchronously (queued as a pending task on 
the channel’s embedded event loop). But the test’s “wait for response” logic 
effectively polls outboundMessages() and sleeps, and in the failing timing 
window it doesn’t execute the pending/scheduled tasks that would actually flush 
the response into the outbound queue—so the outbound queue stays empty until 
the 10s timeout.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to