Adjusted timing for junit test
This commit is contained in:
parent
065595abd0
commit
b109d6ae5c
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue