You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/27 16:58:45 UTC

[GitHub] mgodave opened a new issue #1299: BackoffTests uses Thread.sleep to test

mgodave opened a new issue #1299: BackoffTests uses Thread.sleep to test
URL: https://github.com/apache/incubator-pulsar/issues/1299
 
 
   The test can be flaky. This should instead use a mocked clock ([Clock](https://docs.oracle.com/javase/8/docs/api/java/time/Clock.html)) instead of hard coded calls to System.currentTimeMillis() and Thread.sleep()
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services