HBASE-20465 Fix TestEnableRSGroup flaky

This commit is contained in:
Balazs Meszaros 2018-04-20 16:32:32 +02:00 committed by Michael Stack
parent 1633d9d61d
commit 193359ffd2
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ public class TestEnableRSGroup {
@Test @Test
public void testEnableRSGroup() throws IOException, InterruptedException { public void testEnableRSGroup() throws IOException, InterruptedException {
TEST_UTIL.getMiniHBaseCluster().stopMaster(0); TEST_UTIL.getMiniHBaseCluster().stopMaster(0);
TEST_UTIL.getMiniHBaseCluster().waitOnMaster(0);
LOG.info("stopped master..."); LOG.info("stopped master...");
conf.set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, RSGroupAdminEndpoint.class.getName()); conf.set(CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, RSGroupAdminEndpoint.class.getName());