HBASE-4864 TestMasterObserver#testRegionTransitionOperations occasionally
fails (Gao Jinchao) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1205872 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d056194e1
commit
5392c55cf6
|
@ -457,6 +457,8 @@ Release 0.92.0 - Unreleased
|
||||||
TestHCM.testConnectionUniqueness (Jinchao)
|
TestHCM.testConnectionUniqueness (Jinchao)
|
||||||
HBASE-4518 TestServerCustomProtocol fails intermittently
|
HBASE-4518 TestServerCustomProtocol fails intermittently
|
||||||
HBASE-4790 Occasional TestDistributedLogSplitting failure (Jinchao)
|
HBASE-4790 Occasional TestDistributedLogSplitting failure (Jinchao)
|
||||||
|
HBASE-4864 TestMasterObserver#testRegionTransitionOperations occasionally
|
||||||
|
fails (Gao Jinchao)
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)
|
||||||
|
|
|
@ -639,7 +639,9 @@ public class TestMasterObserver {
|
||||||
cp.resetStates();
|
cp.resetStates();
|
||||||
|
|
||||||
HTable table = UTIL.createTable(TEST_TABLE, TEST_FAMILY);
|
HTable table = UTIL.createTable(TEST_TABLE, TEST_FAMILY);
|
||||||
UTIL.createMultiRegions(table, TEST_FAMILY);
|
int countOfRegions = UTIL.createMultiRegions(table, TEST_FAMILY);
|
||||||
|
UTIL.waitUntilAllRegionsAssigned(countOfRegions);
|
||||||
|
|
||||||
NavigableMap<HRegionInfo, ServerName> regions = table.getRegionLocations();
|
NavigableMap<HRegionInfo, ServerName> regions = table.getRegionLocations();
|
||||||
Map.Entry<HRegionInfo, ServerName> firstGoodPair = null;
|
Map.Entry<HRegionInfo, ServerName> firstGoodPair = null;
|
||||||
for (Map.Entry<HRegionInfo, ServerName> e: regions.entrySet()) {
|
for (Map.Entry<HRegionInfo, ServerName> e: regions.entrySet()) {
|
||||||
|
|
Loading…
Reference in New Issue