HBASE-25400 [Flakey Tests] branch-2 TestRegionMoveAndAbandon
This commit is contained in:
parent
74d68180e6
commit
888a4fb86a
|
@ -103,8 +103,9 @@ public class TestRegionMoveAndAbandon {
|
|||
LOG.info("Killing RS {}", rs1.getServerName());
|
||||
// Stop RS1
|
||||
cluster.killRegionServer(rs1.getServerName());
|
||||
UTIL.waitFor(30_000, () -> rs1.isStopped() && !rs1.isAlive());
|
||||
// Region should get moved to RS2
|
||||
UTIL.waitTableAvailable(tableName, 30_000);
|
||||
UTIL.waitTableAvailable(tableName, 60_000);
|
||||
// Restart the master
|
||||
LOG.info("Killing master {}", cluster.getMaster().getServerName());
|
||||
cluster.killMaster(cluster.getMaster().getServerName());
|
||||
|
|
Loading…
Reference in New Issue