ivankelly opened a new pull request #2406: Fix flake in DiscoveryServiceTest 
(#1081)
URL: https://github.com/apache/incubator-pulsar/pull/2406
 
 
   This test was flaking because it was only waiting for 1 second for
   connection and message exchange to complete, which is not enough time
   when there's heavy load on the machine (simulated with stress-ng).
   
   The fix is to increase the timeout to 10 seconds. I've also cleaned up
   the test to use a CompletableFuture rather than a CountDownLatch so
   that the test thread can be notified of failures in the handlers.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to