waitForEvent(startTimeout, "active", () -> findActiveMaster(masters) != null); waitForEvent(initTimeout, "initialized", () -> { JVMClusterUtil.MasterThread t = findActiveMaster(masters);
waitForEvent(startTimeout, "active", () -> findActiveMaster(masters) != null); waitForEvent(initTimeout, "initialized", () -> { JVMClusterUtil.MasterThread t = findActiveMaster(masters);