kezhuw commented on PR #1896:
URL: https://github.com/apache/zookeeper/pull/1896#issuecomment-1595646440

   The old test could not last 10 runs after adding `Thread.sleep(700)` before 
`watcher.waitForReadOnlyConnected(5000)`. The assertion message proves that 
"disconnected from old client" comes after "connected from new client".
   
   After patch with `watcher = new CountdownWatcher()`, the test last 100 runs 
with no failure.
    


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