From eda0af1cd2f836e9fbe920f8f6470864955de3b2 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Wed, 2 Oct 2019 09:32:28 +0200 Subject: [PATCH] Fix ExpiringCacheAsyncTest.testFetchValue unreliability (#1066) Signed-off-by: Wouter Born --- .../eclipse/smarthome/core/cache/ExpiringCacheAsyncTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itests/org.openhab.core.tests/src/main/java/org/eclipse/smarthome/core/cache/ExpiringCacheAsyncTest.java b/itests/org.openhab.core.tests/src/main/java/org/eclipse/smarthome/core/cache/ExpiringCacheAsyncTest.java index 5c5d563522..0396084d26 100644 --- a/itests/org.openhab.core.tests/src/main/java/org/eclipse/smarthome/core/cache/ExpiringCacheAsyncTest.java +++ b/itests/org.openhab.core.tests/src/main/java/org/eclipse/smarthome/core/cache/ExpiringCacheAsyncTest.java @@ -38,7 +38,7 @@ public class ExpiringCacheAsyncTest extends JavaTest { @Test public void testFetchValue() throws InterruptedException, ExecutionException { - ExpiringCacheAsync t = new ExpiringCacheAsync(100); + ExpiringCacheAsync t = new ExpiringCacheAsync(500); assertTrue(t.isExpired()); // We should always be able to get the raw value, expired or not assertNull(t.getLastKnownValue());