MAPREDUCE-6744. Increase timeout on TestDFSIO tests. Contributed by Eric Badger
(cherry picked from commit 703fdf86c6
)
This commit is contained in:
parent
b757eff30c
commit
26df6bd31a
|
@ -236,7 +236,7 @@ public class TestDFSIO implements Tool {
|
||||||
bench.analyzeResult(fs, TestType.TEST_TYPE_WRITE, execTime);
|
bench.analyzeResult(fs, TestType.TEST_TYPE_WRITE, execTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (timeout = 3000)
|
@Test (timeout = 10000)
|
||||||
public void testRead() throws Exception {
|
public void testRead() throws Exception {
|
||||||
FileSystem fs = cluster.getFileSystem();
|
FileSystem fs = cluster.getFileSystem();
|
||||||
long tStart = System.currentTimeMillis();
|
long tStart = System.currentTimeMillis();
|
||||||
|
@ -245,7 +245,7 @@ public class TestDFSIO implements Tool {
|
||||||
bench.analyzeResult(fs, TestType.TEST_TYPE_READ, execTime);
|
bench.analyzeResult(fs, TestType.TEST_TYPE_READ, execTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (timeout = 3000)
|
@Test (timeout = 10000)
|
||||||
public void testReadRandom() throws Exception {
|
public void testReadRandom() throws Exception {
|
||||||
FileSystem fs = cluster.getFileSystem();
|
FileSystem fs = cluster.getFileSystem();
|
||||||
long tStart = System.currentTimeMillis();
|
long tStart = System.currentTimeMillis();
|
||||||
|
@ -255,7 +255,7 @@ public class TestDFSIO implements Tool {
|
||||||
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_RANDOM, execTime);
|
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_RANDOM, execTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (timeout = 3000)
|
@Test (timeout = 10000)
|
||||||
public void testReadBackward() throws Exception {
|
public void testReadBackward() throws Exception {
|
||||||
FileSystem fs = cluster.getFileSystem();
|
FileSystem fs = cluster.getFileSystem();
|
||||||
long tStart = System.currentTimeMillis();
|
long tStart = System.currentTimeMillis();
|
||||||
|
@ -265,7 +265,7 @@ public class TestDFSIO implements Tool {
|
||||||
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_BACKWARD, execTime);
|
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_BACKWARD, execTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (timeout = 3000)
|
@Test (timeout = 10000)
|
||||||
public void testReadSkip() throws Exception {
|
public void testReadSkip() throws Exception {
|
||||||
FileSystem fs = cluster.getFileSystem();
|
FileSystem fs = cluster.getFileSystem();
|
||||||
long tStart = System.currentTimeMillis();
|
long tStart = System.currentTimeMillis();
|
||||||
|
@ -275,7 +275,7 @@ public class TestDFSIO implements Tool {
|
||||||
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_SKIP, execTime);
|
bench.analyzeResult(fs, TestType.TEST_TYPE_READ_SKIP, execTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test (timeout = 6000)
|
@Test (timeout = 10000)
|
||||||
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();
|
||||||
|
|
Loading…
Reference in New Issue