Disable testDeleteCreateInOneBulk on Zen2

This test needs adaptation to run with Zen2
This commit is contained in:
Yannick Welsch 2018-11-28 13:34:28 +01:00
parent 0e283f9670
commit 5f0c036183
1 changed files with 6 additions and 2 deletions

View File

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