MAPREDUCE-6670. TestJobListCache#testEviction sometimes fails on Windows with timeout. Contributed by Gergely Novák.
(cherry picked from commitde96d7c88a
) (cherry picked from commit5574f82799
)
This commit is contained in:
parent
2ee244ac28
commit
683f313c1f
|
@ -45,7 +45,7 @@ public class TestJobListCache {
|
||||||
cache.values().size());
|
cache.values().size());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (timeout = 1000)
|
@Test (timeout = 5000)
|
||||||
public void testEviction() throws InterruptedException {
|
public void testEviction() throws InterruptedException {
|
||||||
int maxSize = 2;
|
int maxSize = 2;
|
||||||
JobListCache cache = new JobListCache(maxSize, 1000);
|
JobListCache cache = new JobListCache(maxSize, 1000);
|
||||||
|
|
Loading…
Reference in New Issue