MAPREDUCE-6670. TestJobListCache#testEviction sometimes fails on Windows with timeout. Contributed by Gergely Novák.
(cherry picked from commit de96d7c88a42cd54bd88ce2de63122998e967efa) (cherry picked from commit 5574f827991cfc3d14f71184296866d387ed174f)
This commit is contained in:
parent
f3dbabb13a
commit
80c151b889
@ -45,7 +45,7 @@ public void testAddExisting() {
|
|||||||
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…
x
Reference in New Issue
Block a user