We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e6e4bb commit c17dcf3Copy full SHA for c17dcf3
qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/RecoveryIT.java
@@ -747,8 +747,10 @@ public void testAutoExpandIndicesDuringRollingUpgrade() throws Exception {
747
.put(IndexMetaData.SETTING_NUMBER_OF_SHARDS, 1)
748
.put(IndexMetaData.SETTING_NUMBER_OF_REPLICAS, randomInt(2))
749
.put(IndexMetaData.SETTING_AUTO_EXPAND_REPLICAS, "0-all")
750
- .put(IndexMetaData.INDEX_ROUTING_EXCLUDE_GROUP_PREFIX + "._id", nodes.get(randomInt(2)))
751
.build());
+ ensureGreen(indexName);
752
+ updateIndexSettings(indexName,
753
+ Settings.builder().put(IndexMetaData.INDEX_ROUTING_EXCLUDE_GROUP_PREFIX + "._id", nodes.get(randomInt(2))));
754
}
755
756
ensureGreen(indexName);
0 commit comments