void-ptr974 opened a new pull request, #25509:
URL: https://github.com/apache/pulsar/pull/25509

     The tests were failing intermittently with:
       PulsarClientException$AlreadyClosedException: Client already closed : 
state = Closed
   
     Root cause: 4 PulsarClient instances were shared across all test methods
     via @BeforeClass. Once any client entered the Closed state (e.g. due to
     a previous test timeout or incomplete cleanup of Mockito-spied lookup
     services), all subsequent tests using that client would fail.
   
     Fix: each test method now creates and closes its own PulsarClient
     instances, eliminating shared mutable state between tests.
   


-- 
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