HBASE-10867 TestRegionPlacement#testRegionPlacement occasionally fails
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1583515 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0f0d6c1754
commit
165a6d679a
|
@ -299,7 +299,7 @@ public class TestRegionPlacement {
|
|||
boolean isNamespaceServer = false;
|
||||
do {
|
||||
// kill a random non-meta server carrying at least one region
|
||||
killIndex = random.nextInt(servers.length);
|
||||
killIndex = random.nextInt(SLAVES);
|
||||
serverToKill = TEST_UTIL.getHBaseCluster().getRegionServer(killIndex).getServerName();
|
||||
Collection<HRegion> regs =
|
||||
TEST_UTIL.getHBaseCluster().getRegionServer(killIndex).getOnlineRegionsLocalContext();
|
||||
|
|
Loading…
Reference in New Issue