Adjusted timing for junit test

This commit is contained in:
Ziver Koc 2017-01-19 22:05:38 +01:00
parent 065595abd0
commit b109d6ae5c

View file

@ -51,7 +51,7 @@ public class TimedHashSetTest {
TimedHashSet set = new TimedHashSet(10);
set.add(ENTRY);
assertTrue(set.contains(ENTRY));
Thread.sleep(10);
Thread.sleep(15);
assertFalse(set.contains(ENTRY));
}