sijie commented on issue #944: Introduce MockClock and MockExecutorController to improve timer-based testing URL: https://github.com/apache/bookkeeper/pull/944#issuecomment-355449241 @eolivelli it is a very common pattern used in quite a lot of places. for example, all the twitter util libraries using mock time and mock timer for testing timer oriented tasks. apache aurora (another twitter open source project) does similar thing. even in guava, you have a mock ticker that controls expiration.
---------------------------------------------------------------- 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
