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
This commit is contained in:
parent
3ce7d2c9b6
commit
e4fa32470b
|
@ -518,6 +518,7 @@ public class FullClusterRestartIT extends AbstractFullClusterRestartTestCase {
|
|||
|
||||
if (isRunningAgainstOldCluster()) {
|
||||
Request rolloverRequest = new Request("POST", "/" + index + "_write/_rollover");
|
||||
rolloverRequest.setOptions(allowTypeRemovalWarnings());
|
||||
rolloverRequest.setJsonEntity("{"
|
||||
+ " \"conditions\": {"
|
||||
+ " \"max_docs\": 5"
|
||||
|
|
Loading…
Reference in New Issue