We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b62f9 commit 30fe7d7Copy full SHA for 30fe7d7
server/src/test/java/org/elasticsearch/routing/PartitionedRoutingIT.java
@@ -108,10 +108,11 @@ public void testShrinking() throws Exception {
108
109
logger.info("--> shrinking index [" + previousIndex + "] to [" + index + "]");
110
client().admin().indices().prepareResizeIndex(previousIndex, index)
111
- .setSettings(Settings.builder()
112
- .put("index.number_of_shards", currentShards)
113
- .put("index.number_of_replicas", numberOfReplicas())
114
- .build()).get();
+ .setSettings(Settings.builder()
+ .put("index.number_of_shards", currentShards)
+ .put("index.number_of_replicas", numberOfReplicas())
+ .putNull("index.routing.allocation.require._name")
115
+ .build()).get();
116
ensureGreen();
117
}
118
0 commit comments