HBASE-4217 addendum to change duplicate table name

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1162291 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2011-08-27 03:24:06 +00:00
parent 49f3fac8b8
commit 96bb587e8a
1 changed files with 2 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ public class TestAdmin {
@Test
public void testCloseRegionWhenServerNameIsEmpty() throws Exception {
byte[] TABLENAME = Bytes.toBytes("TestHBACloseRegion3");
byte[] TABLENAME = Bytes.toBytes("TestHBACloseRegionWhenServerNameIsEmpty");
HBaseAdmin admin = createTable(TABLENAME);
HRegionServer rs = TEST_UTIL.getRSForFirstRegionInTable(TABLENAME);
@ -1035,7 +1035,7 @@ public class TestAdmin {
for (HRegionInfo regionInfo : onlineRegions) {
if (!regionInfo.isMetaRegion() && !regionInfo.isRootRegion()) {
if (regionInfo.getRegionNameAsString()
.contains("TestHBACloseRegion3")) {
.contains("TestHBACloseRegionWhenServerNameIsEmpty")) {
admin.closeRegionWithEncodedRegionName(regionInfo.getEncodedName(),
" ");
}