HDFS-9740. Use a reasonable limit in DFSTestUtil.waitForMetric() (Contributed by Chang Li)

(cherry picked from commit eb2fb943fd)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java

(cherry picked from commit 6941e2ccbf)

 Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java
This commit is contained in:
Vinayakumar B 2016-02-03 11:14:29 +05:30
parent bfee573baf
commit af9de19cfd
2 changed files with 4 additions and 1 deletions

View File

@ -81,6 +81,9 @@ Release 2.7.3 - UNRELEASED
HDFS-9406. FSImage may get corrupted after deleting snapshot. HDFS-9406. FSImage may get corrupted after deleting snapshot.
(Contributed by Jing Zhao, Stanislav Antic, Vinayakumar B, Yongjun Zhang) (Contributed by Jing Zhao, Stanislav Antic, Vinayakumar B, Yongjun Zhang)
HDFS-9740. Use a reasonable limit in DFSTestUtil.waitForMetric()
(Chang Li via vinayakumarb)
Release 2.7.2 - 2016-01-25 Release 2.7.2 - 2016-01-25
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -1829,6 +1829,6 @@ public class DFSTestUtil {
throw new UnhandledException("Test failed due to unexpected exception", e); throw new UnhandledException("Test failed due to unexpected exception", e);
} }
} }
}, 1000, Integer.MAX_VALUE); }, 1000, 60000);
} }
} }