HBASE-25156 TestMasterFailover.testSimpleMasterFailover is flaky (ADDENDUM) (#2529)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
5a474449c1
commit
c8c860c906
|
@ -129,7 +129,7 @@ public class TestMasterFailover {
|
|||
// wait for the active master to acknowledge loss of the backup from ZK
|
||||
final HMaster activeFinal = active;
|
||||
TEST_UTIL.waitFor(
|
||||
TimeUnit.SECONDS.toMillis(30), () -> activeFinal.getBackupMasters().size() == 1);
|
||||
TimeUnit.MINUTES.toMillis(5), () -> activeFinal.getBackupMasters().size() == 1);
|
||||
|
||||
// Check that ClusterStatus reports the correct active and backup masters
|
||||
assertNotNull(active);
|
||||
|
|
Loading…
Reference in New Issue