HBASE-13130 Add timeouts on TestMasterObserver, a frequent zombie show

This commit is contained in:
stack 2015-02-28 15:27:12 -08:00
parent daf6858a7a
commit dd78f459e8
1 changed files with 7 additions and 7 deletions

View File

@ -1179,7 +1179,7 @@ public class TestMasterObserver {
UTIL.shutdownMiniCluster();
}
@Test
@Test (timeout=180000)
public void testStarted() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
@ -1199,7 +1199,7 @@ public class TestMasterObserver {
cp.wasStartMasterCalled());
}
@Test
@Test (timeout=180000)
public void testTableOperations() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
@ -1365,7 +1365,7 @@ public class TestMasterObserver {
cp.wasDeleteTableHandlerCalled());
}
@Test
@Test (timeout=180000)
public void testSnapshotOperations() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
HMaster master = cluster.getMaster();
@ -1426,7 +1426,7 @@ public class TestMasterObserver {
}
}
@Test
@Test (timeout=180000)
public void testNamespaceOperations() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
String testNamespace = "observed_ns";
@ -1513,7 +1513,7 @@ public class TestMasterObserver {
}
}
@Test
@Test (timeout=180000)
public void testRegionTransitionOperations() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
@ -1615,7 +1615,7 @@ public class TestMasterObserver {
}
}
@Test
@Test (timeout=180000)
public void testTableDescriptorsEnumeration() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();
@ -1633,7 +1633,7 @@ public class TestMasterObserver {
cp.wasGetTableDescriptorsCalled());
}
@Test
@Test (timeout=180000)
public void testTableNamesEnumeration() throws Exception {
MiniHBaseCluster cluster = UTIL.getHBaseCluster();