MAPREDUCE-6670. TestJobListCache#testEviction sometimes fails on Windows with timeout. Contributed by Gergely Novák.

This commit is contained in:
Junping Du 2016-04-06 08:32:35 -07:00
parent b41e65e5bc
commit de96d7c88a

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