HBASE-4751 Make TestAdmin#testEnableTableRoundRobinAssignment friendly to concurrent tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1198013 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7052e59b38
commit
b508f52998
|
@ -37,6 +37,8 @@ Release 0.93.0 - Unreleased
|
|||
HBASE-4488 Store could miss rows during flush (Lars H via jgray)
|
||||
HBASE-4673 NPE in HFileReaderV2.close during major compaction when
|
||||
hfile.block.cache.size is set to 0 (Lars H)
|
||||
HBASE-4751 Make TestAdmin#testEnableTableRoundRobinAssignment friendly to
|
||||
concurrent tests (Jieshan Bean)
|
||||
|
||||
TESTS
|
||||
HBASE-4534 A new unit test for lazy seek and StoreScanner in general
|
||||
|
|
|
@ -601,7 +601,8 @@ public class TestAdmin {
|
|||
admin.enableTable(tableName);
|
||||
|
||||
// Check the assignment.
|
||||
HTable metaTable = new HTable(HConstants.META_TABLE_NAME);
|
||||
HTable metaTable = new HTable(TEST_UTIL.getConfiguration(),
|
||||
HConstants.META_TABLE_NAME);
|
||||
List<HRegionInfo> regionInfos = admin.getTableRegions(tableName);
|
||||
Map<String, Integer> serverMap = new HashMap<String, Integer>();
|
||||
for (int i = 0, j = regionInfos.size(); i < j; i++) {
|
||||
|
|
Loading…
Reference in New Issue