Author: liyin Date: Sat Apr 26 18:18:28 2014 New Revision: 1590271 URL: http://svn.apache.org/r1590271 Log: [master] Mute TestRegionStateOnMasterFailure.testKillRootMetaRS
Author: daviddeng Summary: This case tries kill regionservers holding `-ROOT-` and `.META.`, put one region server into blacklist, and kill the active master when a region is openned then wait the whole system coming back to life. This is really a big challenge for the system, I'll check this later. So mute it now. Test Plan: Muting Reviewers: manukranthk, liyintang, adela Reviewed By: adela CC: hbase-eng@ Differential Revision: https://phabricator.fb.com/D1296372 Task ID: 4212779 Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/master/TestRegionStateOnMasterFailure.java Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/master/TestRegionStateOnMasterFailure.java URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/master/TestRegionStateOnMasterFailure.java?rev=1590271&r1=1590270&r2=1590271&view=diff ============================================================================== --- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/master/TestRegionStateOnMasterFailure.java (original) +++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/master/TestRegionStateOnMasterFailure.java Sat Apr 26 18:18:28 2014 @@ -80,7 +80,7 @@ public class TestRegionStateOnMasterFail "REGION EVENT LISTENER: "; private static final int NUM_MASTERS = 2; - private static final int NUM_RS = 3; + private static final int NUM_RS = 4; private static final long TEST_TIMEOUT_MS = 360 * 1000; @@ -129,8 +129,8 @@ public class TestRegionStateOnMasterFail public void closeRegion(HRegion ignored) throws IOException { // Copy the list of region server threads because it will be modified as we kill // -ROOT-/.META. regionservers. - for (RegionServerThread rst : - new ArrayList<RegionServerThread>(miniCluster().getRegionServerThreads())) { + for (RegionServerThread rst : new ArrayList<>( + miniCluster().getRegionServerThreads())) { HRegionServer rs = rst.getRegionServer(); for (HRegionInfo hri : rs.getRegionsAssignment()) { if (hri.isRootRegion() || hri.isMetaRegion()) { @@ -209,6 +209,8 @@ public class TestRegionStateOnMasterFail HBaseEventType.RS2ZK_REGION_OPENED); } + // Marked as unstable and recorded in #4212779 + @TestTag({ "unstable" }) @Test(timeout=TEST_TIMEOUT_MS) public void testKillRootMetaRS() throws Exception { closeRegionAndKillMaster(HConstants.META_TABLE_NAME, new KillRootAndMetaRS(),
