HBASE-22488 Cleanup the explicit timeout value for test methods
This commit is contained in:
parent
21241d03d9
commit
3c848de784
|
@ -232,7 +232,7 @@ public class TestMetaTableMetrics {
|
|||
assertEquals(5L, putWithClientMetricsCount);
|
||||
}
|
||||
|
||||
@Test(timeout = 30000)
|
||||
@Test
|
||||
public void testConcurrentAccess() {
|
||||
try {
|
||||
tablename = Bytes.toBytes("hbase:meta");
|
||||
|
|
|
@ -63,7 +63,7 @@ public class TestMasterHandlerFullWhenTransitRegion {
|
|||
UTIL.createTable(TableName.valueOf(TABLENAME), "fa");
|
||||
}
|
||||
|
||||
@Test(timeout = 30000)
|
||||
@Test
|
||||
public void test() throws Exception {
|
||||
RegionInfo regionInfo = UTIL.getAdmin().getRegions(TableName.valueOf(TABLENAME)).get(0);
|
||||
//See HBASE-21754
|
||||
|
|
|
@ -309,7 +309,7 @@ public class TestMasterNoCluster {
|
|||
}
|
||||
}
|
||||
|
||||
@Test(timeout = 60000)
|
||||
@Test
|
||||
public void testMasterInitWithSameClientServerZKQuorum() throws Exception {
|
||||
Configuration conf = new Configuration(TESTUTIL.getConfiguration());
|
||||
conf.set(HConstants.CLIENT_ZOOKEEPER_QUORUM, HConstants.LOCALHOST);
|
||||
|
@ -320,7 +320,7 @@ public class TestMasterNoCluster {
|
|||
master.join();
|
||||
}
|
||||
|
||||
@Test(timeout = 60000)
|
||||
@Test
|
||||
public void testMasterInitWithObserverModeClientZKQuorum() throws Exception {
|
||||
Configuration conf = new Configuration(TESTUTIL.getConfiguration());
|
||||
Assert.assertFalse(Boolean.getBoolean(HConstants.CLIENT_ZOOKEEPER_OBSERVER_MODE));
|
||||
|
|
|
@ -238,7 +238,7 @@ public class TestLogsCleaner {
|
|||
* When zk is working both files should be returned
|
||||
* @throws Exception
|
||||
*/
|
||||
@Test(timeout=10000)
|
||||
@Test
|
||||
public void testZooKeeperNormal() throws Exception {
|
||||
Configuration conf = TEST_UTIL.getConfiguration();
|
||||
ReplicationLogCleaner cleaner = new ReplicationLogCleaner();
|
||||
|
|
|
@ -203,7 +203,7 @@ public class TestQuotaState {
|
|||
assertNoopLimiter(quotaInfo.getTableLimiter(UNKNOWN_TABLE_NAME));
|
||||
}
|
||||
|
||||
@Test(timeout = 60000)
|
||||
@Test
|
||||
public void testTableThrottleWithBatch() {
|
||||
final TableName TABLE_A = TableName.valueOf("TableA");
|
||||
final int TABLE_A_THROTTLE_1 = 3;
|
||||
|
|
|
@ -314,7 +314,7 @@ public class TestWALLockup {
|
|||
* If below is broken, we will see this test timeout because RingBufferEventHandler was stuck in
|
||||
* attainSafePoint. Everyone will wait for sync to finish forever. See HBASE-14317.
|
||||
*/
|
||||
@Test (timeout=30000)
|
||||
@Test
|
||||
public void testRingBufferEventHandlerStuckWhenSyncFailed()
|
||||
throws IOException, InterruptedException {
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ public class TestStoreHotnessProtector {
|
|||
@ClassRule public static final HBaseClassTestRule CLASS_RULE =
|
||||
HBaseClassTestRule.forClass(TestStoreHotnessProtector.class);
|
||||
|
||||
@Test(timeout = 60000)
|
||||
@Test
|
||||
public void testPreparePutCounter() throws Exception {
|
||||
|
||||
ExecutorService executorService = Executors.newFixedThreadPool(10);
|
||||
|
|
Loading…
Reference in New Issue