HBASE-13130 Add timeouts on TestMasterObserver, a frequent zombie show
This commit is contained in:
parent
daf6858a7a
commit
dd78f459e8
|
@ -1179,7 +1179,7 @@ public class TestMasterObserver {
|
||||||
UTIL.shutdownMiniCluster();
|
UTIL.shutdownMiniCluster();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testStarted() throws Exception {
|
public void testStarted() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
|
|
||||||
|
@ -1199,7 +1199,7 @@ public class TestMasterObserver {
|
||||||
cp.wasStartMasterCalled());
|
cp.wasStartMasterCalled());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testTableOperations() throws Exception {
|
public void testTableOperations() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
|
|
||||||
|
@ -1365,7 +1365,7 @@ public class TestMasterObserver {
|
||||||
cp.wasDeleteTableHandlerCalled());
|
cp.wasDeleteTableHandlerCalled());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testSnapshotOperations() throws Exception {
|
public void testSnapshotOperations() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
HMaster master = cluster.getMaster();
|
HMaster master = cluster.getMaster();
|
||||||
|
@ -1426,7 +1426,7 @@ public class TestMasterObserver {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testNamespaceOperations() throws Exception {
|
public void testNamespaceOperations() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
String testNamespace = "observed_ns";
|
String testNamespace = "observed_ns";
|
||||||
|
@ -1513,7 +1513,7 @@ public class TestMasterObserver {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testRegionTransitionOperations() throws Exception {
|
public void testRegionTransitionOperations() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
|
|
||||||
|
@ -1615,7 +1615,7 @@ public class TestMasterObserver {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testTableDescriptorsEnumeration() throws Exception {
|
public void testTableDescriptorsEnumeration() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
|
|
||||||
|
@ -1633,7 +1633,7 @@ public class TestMasterObserver {
|
||||||
cp.wasGetTableDescriptorsCalled());
|
cp.wasGetTableDescriptorsCalled());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test (timeout=180000)
|
||||||
public void testTableNamesEnumeration() throws Exception {
|
public void testTableNamesEnumeration() throws Exception {
|
||||||
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue