MAPREDUCE-5525. Increase timeout of TestDFSIO.testAppend and TestMRJobsWithHistoryService.testJobHistoryData. Contributed by Chuan Liu.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1526624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris Nauroth 2013-09-26 17:45:14 +00:00
parent ae501ceeb7
commit 7e73b9cde6
3 changed files with 5 additions and 2 deletions

View File

@ -224,6 +224,9 @@ Release 2.1.2 - UNRELEASED
MAPREDUCE-5170. Fixed a wrong log message in CombineFileInputFormat class. MAPREDUCE-5170. Fixed a wrong log message in CombineFileInputFormat class.
(Sangjin Lee via vinodkv) (Sangjin Lee via vinodkv)
MAPREDUCE-5525. Increase timeout of TestDFSIO.testAppend and
TestMRJobsWithHistoryService.testJobHistoryData. (Chuan Liu via cnauroth)
Release 2.1.1-beta - 2013-09-23 Release 2.1.1-beta - 2013-09-23
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -269,7 +269,7 @@ public void testReadSkip() throws Exception {
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_SKIP, execTime); bench.analyzeResult(fs, TestType.TEST_TYPE_READ_SKIP, execTime);
} }
@Test (timeout = 3000) @Test (timeout = 6000)
public void testAppend() throws Exception { public void testAppend() throws Exception {
FileSystem fs = cluster.getFileSystem(); FileSystem fs = cluster.getFileSystem();
long tStart = System.currentTimeMillis(); long tStart = System.currentTimeMillis();

View File

@ -111,7 +111,7 @@ public void tearDown() {
} }
} }
@Test (timeout = 30000) @Test (timeout = 90000)
public void testJobHistoryData() throws IOException, InterruptedException, public void testJobHistoryData() throws IOException, InterruptedException,
AvroRemoteException, ClassNotFoundException { AvroRemoteException, ClassNotFoundException {
if (!(new File(MiniMRYarnCluster.APPJAR)).exists()) { if (!(new File(MiniMRYarnCluster.APPJAR)).exists()) {