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:
Junping Du 2016-04-06 08:32:35 -07:00
parent f3dbabb13a
commit 80c151b889

View File

@ -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);