diff --git a/x-pack/qa/rolling-upgrade-multi-cluster/src/test/java/org/elasticsearch/upgrades/CcrRollingUpgradeIT.java b/x-pack/qa/rolling-upgrade-multi-cluster/src/test/java/org/elasticsearch/upgrades/CcrRollingUpgradeIT.java index 36271151efb92..cf2df45a95ea2 100644 --- a/x-pack/qa/rolling-upgrade-multi-cluster/src/test/java/org/elasticsearch/upgrades/CcrRollingUpgradeIT.java +++ b/x-pack/qa/rolling-upgrade-multi-cluster/src/test/java/org/elasticsearch/upgrades/CcrRollingUpgradeIT.java @@ -6,7 +6,6 @@ */ package org.elasticsearch.upgrades; -import org.elasticsearch.Version; import org.elasticsearch.client.Request; import org.elasticsearch.client.ResponseException; import org.elasticsearch.client.RestClient; @@ -299,10 +298,8 @@ public void testBiDirectionalIndexFollowing() throws Exception { private static void createLeaderIndex(RestClient client, String indexName) throws IOException { Settings.Builder indexSettings = Settings.builder() .put("index.number_of_shards", 1) - .put("index.number_of_replicas", 0); - if (UPGRADE_FROM_VERSION.before(Version.V_7_0_0) || randomBoolean()) { - indexSettings.put("index.soft_deletes.enabled", true); - } + .put("index.number_of_replicas", 0) + .put("index.soft_deletes.enabled", true); createIndex(client, indexName, indexSettings.build()); }