From 96bb587e8aa0448af368351148e00d6df7b1fd96 Mon Sep 17 00:00:00 2001 From: Zhihong Yu Date: Sat, 27 Aug 2011 03:24:06 +0000 Subject: [PATCH] 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 --- src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java b/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java index b407d304285..9ef8ad48654 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java +++ b/src/test/java/org/apache/hadoop/hbase/client/TestAdmin.java @@ -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(), " "); }