Skip to content

Commit

Permalink
Types removal fix FullClusterRestartIT warnings
Browse files Browse the repository at this point in the history
Backport PR elastic#38389 for 6.7 produces warnings for rollover test.
This fixes FullClusterRestartIT warning expectations
for rollover request

Relates to elastic#38389
  • Loading branch information
mayya-sharipova committed Feb 5, 2019
1 parent c9701be commit ea37ca4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ public void testRollover() throws IOException {

if (isRunningAgainstOldCluster()) {
Request rolloverRequest = new Request("POST", "/" + index + "_write/_rollover");
rolloverRequest.setOptions(allowTypeRemovalWarnings());
rolloverRequest.setJsonEntity("{"
+ " \"conditions\": {"
+ " \"max_docs\": 5"
Expand Down

0 comments on commit ea37ca4

Please sign in to comment.