HBASE-24795 : TestRegionMover2#testWithSplitRegions fix (ADDENDUM)
This commit is contained in:
parent
ad7caf754a
commit
9ec484a031
|
@ -160,6 +160,9 @@ public class TestRegionMover2 {
|
||||||
Assert.assertEquals(0, regionServer.getNumberOfOnlineRegions());
|
Assert.assertEquals(0, regionServer.getNumberOfOnlineRegions());
|
||||||
LOG.debug("Successfully Unloaded, now Loading");
|
LOG.debug("Successfully Unloaded, now Loading");
|
||||||
HRegion hRegion = hRegions.get(1);
|
HRegion hRegion = hRegions.get(1);
|
||||||
|
if (hRegion.getRegionInfo().getStartKey().length == 0) {
|
||||||
|
hRegion = hRegions.get(0);
|
||||||
|
}
|
||||||
int startKey = 0;
|
int startKey = 0;
|
||||||
int endKey = Integer.MAX_VALUE;
|
int endKey = Integer.MAX_VALUE;
|
||||||
if (hRegion.getRegionInfo().getStartKey().length > 0) {
|
if (hRegion.getRegionInfo().getStartKey().length > 0) {
|
||||||
|
|
Loading…
Reference in New Issue