diff --git a/server/src/test/java/org/elasticsearch/indices/state/RareClusterStateIT.java b/server/src/test/java/org/elasticsearch/indices/state/RareClusterStateIT.java index 247b49c1122..6a77da8738c 100644 --- a/server/src/test/java/org/elasticsearch/indices/state/RareClusterStateIT.java +++ b/server/src/test/java/org/elasticsearch/indices/state/RareClusterStateIT.java @@ -148,8 +148,12 @@ public class RareClusterStateIT extends ESIntegTestCase { } public void testDeleteCreateInOneBulk() throws Exception { - internalCluster().startMasterOnlyNode(); - String dataNode = internalCluster().startDataOnlyNode(); + internalCluster().startMasterOnlyNode(Settings.builder() + .put(TestZenDiscovery.USE_ZEN2.getKey(), false) // TODO: convert test to support Zen2 + .build()); + String dataNode = internalCluster().startDataOnlyNode(Settings.builder() + .put(TestZenDiscovery.USE_ZEN2.getKey(), false) // TODO: convert test to support Zen2 + .build()); assertFalse(client().admin().cluster().prepareHealth().setWaitForNodes("2").get().isTimedOut()); prepareCreate("test").setSettings(Settings.builder().put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, 0)).addMapping("type").get(); ensureGreen("test");