jatsakthi commented on a change in pull request #354: HBASE-20368 Fix RIT stuck when a rsgroup has no online servers but AM… URL: https://github.com/apache/hbase/pull/354#discussion_r301346868
########## File path: hbase-rsgroup/src/test/java/org/apache/hadoop/hbase/rsgroup/TestRSGroupsKillRS.java ########## @@ -131,7 +143,84 @@ public boolean evaluate() throws Exception { }); ServerName targetServer1 = getServerName(newServers.iterator().next()); - Assert.assertEquals(1, admin.getRegions(targetServer1).size()); - Assert.assertEquals(tableName, admin.getRegions(targetServer1).get(0).getTable()); + assertEquals(1, admin.getRegions(targetServer1).size()); + assertEquals(tableName, admin.getRegions(targetServer1).get(0).getTable()); + } + + @Test + public void testKillAllRSInGroup() throws Exception { + // create a rsgroup and move one regionserver to it Review comment: *two regionservers ? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services