HBASE-19941 Flaky TestCreateTableProcedure times out in nightly, needs to LargeTests
This commit is contained in:
parent
b9175680b6
commit
e4aeb46177
|
@ -57,14 +57,14 @@ public class TestCreateTableProcedure extends TestTableDDLProcedureBase {
|
||||||
|
|
||||||
@Rule public TestName name = new TestName();
|
@Rule public TestName name = new TestName();
|
||||||
|
|
||||||
@Test(timeout=60000)
|
@Test
|
||||||
public void testSimpleCreate() throws Exception {
|
public void testSimpleCreate() throws Exception {
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
final byte[][] splitKeys = null;
|
final byte[][] splitKeys = null;
|
||||||
testSimpleCreate(tableName, splitKeys);
|
testSimpleCreate(tableName, splitKeys);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=60000)
|
@Test
|
||||||
public void testSimpleCreateWithSplits() throws Exception {
|
public void testSimpleCreateWithSplits() throws Exception {
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
final byte[][] splitKeys = new byte[][] {
|
final byte[][] splitKeys = new byte[][] {
|
||||||
|
@ -79,7 +79,7 @@ public class TestCreateTableProcedure extends TestTableDDLProcedureBase {
|
||||||
MasterProcedureTestingUtility.validateTableCreation(getMaster(), tableName, regions, F1, F2);
|
MasterProcedureTestingUtility.validateTableCreation(getMaster(), tableName, regions, F1, F2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=60000)
|
@Test
|
||||||
public void testCreateWithoutColumnFamily() throws Exception {
|
public void testCreateWithoutColumnFamily() throws Exception {
|
||||||
final ProcedureExecutor<MasterProcedureEnv> procExec = getMasterProcedureExecutor();
|
final ProcedureExecutor<MasterProcedureEnv> procExec = getMasterProcedureExecutor();
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
|
@ -101,7 +101,7 @@ public class TestCreateTableProcedure extends TestTableDDLProcedureBase {
|
||||||
cause instanceof DoNotRetryIOException);
|
cause instanceof DoNotRetryIOException);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=60000, expected=TableExistsException.class)
|
@Test(expected=TableExistsException.class)
|
||||||
public void testCreateExisting() throws Exception {
|
public void testCreateExisting() throws Exception {
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
final ProcedureExecutor<MasterProcedureEnv> procExec = getMasterProcedureExecutor();
|
final ProcedureExecutor<MasterProcedureEnv> procExec = getMasterProcedureExecutor();
|
||||||
|
@ -124,7 +124,7 @@ public class TestCreateTableProcedure extends TestTableDDLProcedureBase {
|
||||||
latch2.await();
|
latch2.await();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=60000)
|
@Test
|
||||||
public void testRecoveryAndDoubleExecution() throws Exception {
|
public void testRecoveryAndDoubleExecution() throws Exception {
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
|
|
||||||
|
@ -144,13 +144,13 @@ public class TestCreateTableProcedure extends TestTableDDLProcedureBase {
|
||||||
MasterProcedureTestingUtility.validateTableCreation(getMaster(), tableName, regions, F1, F2);
|
MasterProcedureTestingUtility.validateTableCreation(getMaster(), tableName, regions, F1, F2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=90000)
|
@Test
|
||||||
public void testRollbackAndDoubleExecution() throws Exception {
|
public void testRollbackAndDoubleExecution() throws Exception {
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
testRollbackAndDoubleExecution(TableDescriptorBuilder.newBuilder(MasterProcedureTestingUtility.createHTD(tableName, F1, F2)));
|
testRollbackAndDoubleExecution(TableDescriptorBuilder.newBuilder(MasterProcedureTestingUtility.createHTD(tableName, F1, F2)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout=90000)
|
@Test
|
||||||
public void testRollbackAndDoubleExecutionOnMobTable() throws Exception {
|
public void testRollbackAndDoubleExecutionOnMobTable() throws Exception {
|
||||||
final TableName tableName = TableName.valueOf(name.getMethodName());
|
final TableName tableName = TableName.valueOf(name.getMethodName());
|
||||||
TableDescriptor htd = MasterProcedureTestingUtility.createHTD(tableName, F1, F2);
|
TableDescriptor htd = MasterProcedureTestingUtility.createHTD(tableName, F1, F2);
|
||||||
|
|
Loading…
Reference in New Issue