Fix ExpiringCacheAsyncTest.testFetchValue unreliability (#1066)

Signed-off-by: Wouter Born <github@maindrain.net>
pull/1072/head
Wouter Born 2019-10-02 09:32:28 +02:00 committed by Christoph Weitkamp
parent edc27847d1
commit eda0af1cd2
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public class ExpiringCacheAsyncTest extends JavaTest {
@Test
public void testFetchValue() throws InterruptedException, ExecutionException {
ExpiringCacheAsync<Double> t = new ExpiringCacheAsync<Double>(100);
ExpiringCacheAsync<Double> t = new ExpiringCacheAsync<Double>(500);
assertTrue(t.isExpired());
// We should always be able to get the raw value, expired or not
assertNull(t.getLastKnownValue());