Skip to content

Commit e4fa324

Browse files
Types removal fix FullClusterRestartIT warnings (#38445)
Backport PR #38389 for 6.7 produces warnings for rollover test. This fixes FullClusterRestartIT warning expectations for rollover request Relates to #38389
1 parent 3ce7d2c commit e4fa324

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/full-cluster-restart/src/test/java/org/elasticsearch/upgrades/FullClusterRestartIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ public void testRollover() throws IOException {
518518

519519
if (isRunningAgainstOldCluster()) {
520520
Request rolloverRequest = new Request("POST", "/" + index + "_write/_rollover");
521+
rolloverRequest.setOptions(allowTypeRemovalWarnings());
521522
rolloverRequest.setJsonEntity("{"
522523
+ " \"conditions\": {"
523524
+ " \"max_docs\": 5"

0 commit comments

Comments
 (0)