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
2ee244ac28
commit
683f313c1f
@ -45,7 +45,7 @@ public void testAddExisting() {
|
||||
cache.values().size());
|
||||
}
|
||||
|
||||
@Test (timeout = 1000)
|
||||
@Test (timeout = 5000)
|
||||
public void testEviction() throws InterruptedException {
|
||||
int maxSize = 2;
|
||||
JobListCache cache = new JobListCache(maxSize, 1000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user