Created
February 25, 2018 10:38
-
-
Save dnno/c3fb0982e96b8b34949afad368278117 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ExecutorService executorService = Executors.newCachedThreadPool(); | |
@Test | |
public void should_be_able_to_retrieve_a_cache() throws Exception { | |
Future<RemoteCache<Object, Object>> result = | |
executorService.submit(() -> cacheManager.getCache()); | |
assertNotNull(result.get(1500, TimeUnit.MILLISECONDS)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment