MAPREDUCE-6670. TestJobListCache#testEviction sometimes fails on Windows with timeout. Contributed by Gergely Novák.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/de96d7c8 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/de96d7c8 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/de96d7c8 Branch: refs/heads/HDFS-1312 Commit: de96d7c88a42cd54bd88ce2de63122998e967efa Parents: b41e65e Author: Junping Du <junping...@apache.org> Authored: Wed Apr 6 08:32:35 2016 -0700 Committer: Junping Du <junping...@apache.org> Committed: Wed Apr 6 08:32:35 2016 -0700 ---------------------------------------------------------------------- .../java/org/apache/hadoop/mapreduce/v2/hs/TestJobListCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/de96d7c8/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobListCache.java ---------------------------------------------------------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobListCache.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobListCache.java index 6ebbb7c..3ccc222 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobListCache.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/java/org/apache/hadoop/mapreduce/v2/hs/TestJobListCache.java @@ -45,7 +45,7 @@ public class TestJobListCache { cache.values().size()); } - @Test (timeout = 1000) + @Test (timeout = 5000) public void testEviction() throws InterruptedException { int maxSize = 2; JobListCache cache = new JobListCache(maxSize, 1000);