HBASE-3091 Fix TestKillingServersFromMaster in TRUNK; it just hangs since new master went in

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1005713 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-10-08 05:49:01 +00:00
parent c4d59d99dd
commit d65d011907
1 changed files with 6 additions and 5 deletions

View File

@ -32,9 +32,10 @@ import org.apache.hadoop.hbase.MiniHBaseCluster.MiniHBaseClusterRegionServer;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
public class TestKillingServersFromMaster {
public class BROKE_FIX_TestKillingServersFromMaster {
private static final HBaseTestingUtility TEST_UTIL = new HBaseTestingUtility();
private static MiniHBaseCluster cluster;
@ -60,7 +61,7 @@ public class TestKillingServersFromMaster {
* See HBASE-2613
* @throws Exception
*/
@Test (timeout=180000)
@Ignore @Test (timeout=180000)
public void testRsReportsWrongStartCode() throws Exception {
MiniHBaseClusterRegionServer firstServer =
(MiniHBaseClusterRegionServer)cluster.getRegionServer(0);
@ -78,7 +79,7 @@ public class TestKillingServersFromMaster {
* See HBASE-2613
* @throws Exception
*/
@Test (timeout=180000)
@Ignore @Test (timeout=180000)
public void testRsReportsWrongAddress() throws Exception {
MiniHBaseClusterRegionServer firstServer =
(MiniHBaseClusterRegionServer)cluster.getRegionServer(0);
@ -93,10 +94,10 @@ public class TestKillingServersFromMaster {
* See HBASE-2691
* @throws Exception
*/
@Test (timeout=180000)
@Ignore @Test (timeout=180000)
public void testSendYouAreDead() throws Exception {
cluster.addExceptionToSendRegionServer(0, new YouAreDeadException("bam!"));
cluster.waitOnRegionServer(0);
assertEquals(1, cluster.getLiveRegionServerThreads().size());
}
}
}