dlmarion opened a new pull request, #2691: URL: https://github.com/apache/accumulo/pull/2691
As described at https://github.com/ben-manes/caffeine/wiki/Testing, Caffeine delegates maintenance tasks (eviction, refreshes, etc.) to background threads to take advantage of batching. This change implements the suggestion at https://github.com/ben-manes/caffeine/issues/455#issuecomment-689398669 to run all of the maintenance tasks in the current Thread for testing. Using Cache.cleanup as suggested in the wiki page did not appear to work, but this approach allows us to remove all of the calls to Thread.sleep in the 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]
