HBASE-12152 TestLoadIncrementalHFiles shows up as zombie test; ADD TIMEOUT ON TESTS -- Up timeout from 120 to 120000

This commit is contained in:
stack 2014-10-02 13:18:08 -07:00
parent 8ac42d4b40
commit 546f436a41
1 changed files with 7 additions and 7 deletions

View File

@ -260,7 +260,7 @@ public class TestLoadIncrementalHFilesSplitRecovery {
* Test that shows that exception thrown from the RS side will result in an
* exception on the LIHFile client.
*/
@Test(expected=IOException.class, timeout=120)
@Test(expected=IOException.class, timeout=120000)
public void testBulkLoadPhaseFailure() throws Exception {
TableName table = TableName.valueOf("bulkLoadPhaseFailure");
setupTable(table, 10);
@ -332,7 +332,7 @@ public class TestLoadIncrementalHFilesSplitRecovery {
* to test this path, so we actually inject a split just before the atomic
* region load.
*/
@Test (timeout=120)
@Test (timeout=120000)
public void testSplitWhileBulkLoadPhase() throws Exception {
final TableName table = TableName.valueOf("splitWhileBulkloadPhase");
setupTable(table, 10);
@ -374,7 +374,7 @@ public class TestLoadIncrementalHFilesSplitRecovery {
* This test splits a table and attempts to bulk load. The bulk import files
* should be split before atomically importing.
*/
@Test (timeout=120)
@Test (timeout=120000)
public void testGroupOrSplitPresplit() throws Exception {
final TableName table = TableName.valueOf("groupOrSplitPresplit");
setupTable(table, 10);
@ -410,7 +410,7 @@ public class TestLoadIncrementalHFilesSplitRecovery {
* This simulates an remote exception which should cause LIHF to exit with an
* exception.
*/
@Test(expected = IOException.class, timeout=120)
@Test(expected = IOException.class, timeout=120000)
public void testGroupOrSplitFailure() throws Exception {
TableName table = TableName.valueOf("groupOrSplitFailure");
setupTable(table, 10);
@ -440,7 +440,7 @@ public class TestLoadIncrementalHFilesSplitRecovery {
fail("doBulkLoad should have thrown an exception");
}
@Test (timeout=120)
@Test (timeout=120000)
public void testGroupOrSplitWhenRegionHoleExistsInMeta() throws Exception {
TableName tableName = TableName.valueOf("testGroupOrSplitWhenRegionHoleExistsInMeta");
byte[][] SPLIT_KEYS = new byte[][] { Bytes.toBytes("row_00000100") };