HBASE-25400 [Flakey Tests] branch-2 TestRegionMoveAndAbandon

This commit is contained in:
stack 2020-12-15 21:02:45 -08:00
parent 74d68180e6
commit 888a4fb86a
1 changed files with 2 additions and 1 deletions

View File

@ -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());