HBASE-9197 TestAdmin#testShouldCloseTheRegionBasedOnTheEncodedRegionName shuts down the namespaces table and never starts it up again
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1513306 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5f0503ca2f
commit
82ddf0da03
|
@ -823,6 +823,7 @@ public class TestAdmin {
|
|||
admin.createTable(desc, splitKeys);
|
||||
fail("Test case should fail as empty split key is passed.");
|
||||
} catch (IllegalArgumentException e) {
|
||||
LOG.info("Expected ", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1324,7 +1325,7 @@ public class TestAdmin {
|
|||
HRegionServer rs = TEST_UTIL.getRSForFirstRegionInTable(TABLENAME);
|
||||
List<HRegionInfo> onlineRegions = ProtobufUtil.getOnlineRegions(rs);
|
||||
for (HRegionInfo regionInfo : onlineRegions) {
|
||||
if (!regionInfo.isMetaTable()) {
|
||||
if (!HTableDescriptor.isSystemTable(regionInfo.getTableName())) {
|
||||
info = regionInfo;
|
||||
admin.closeRegionWithEncodedRegionName(regionInfo.getEncodedName(), rs
|
||||
.getServerName().getServerName());
|
||||
|
|
Loading…
Reference in New Issue