|
@@ -23,6 +23,7 @@ import org.elasticsearch.common.Strings;
|
|
|
import org.elasticsearch.common.bytes.BytesReference;
|
|
|
import org.elasticsearch.common.settings.Settings;
|
|
|
import org.elasticsearch.common.util.set.Sets;
|
|
|
+import org.elasticsearch.core.TimeValue;
|
|
|
import org.elasticsearch.core.Tuple;
|
|
|
import org.elasticsearch.health.GetHealthAction;
|
|
|
import org.elasticsearch.health.HealthStatus;
|
|
@@ -424,6 +425,10 @@ public class StableMasterDisruptionIT extends ESIntegTestCase {
|
|
|
.put(LeaderChecker.LEADER_CHECK_TIMEOUT_SETTING.getKey(), "1s")
|
|
|
.put(Coordinator.PUBLISH_TIMEOUT_SETTING.getKey(), "1s")
|
|
|
.put(StableMasterHealthIndicatorService.NO_MASTER_TRANSITIONS_THRESHOLD_SETTING.getKey(), 1)
|
|
|
+ .put(
|
|
|
+ StableMasterHealthIndicatorService.NODE_HAS_MASTER_LOOKUP_TIMEFRAME_SETTING.getKey(),
|
|
|
+ new TimeValue(60, TimeUnit.SECONDS)
|
|
|
+ )
|
|
|
.build()
|
|
|
);
|
|
|
ensureStableCluster(3);
|