Skip to content

Commit 73e6a85

Browse files
authored
Ignore _field_names warning in testRollupAfterRestart (#115563) (#115568)
(cherry picked from commit 79be69a)
1 parent addd7d6 commit 73e6a85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

x-pack/qa/full-cluster-restart/src/javaRestTest/java/org/elasticsearch/xpack/restart/FullClusterRestartIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ public void testRollupAfterRestart() throws Exception {
468468

469469
final Request bulkRequest = new Request("POST", "/_bulk");
470470
bulkRequest.setJsonEntity(bulk.toString());
471+
bulkRequest.setOptions(RequestOptions.DEFAULT.toBuilder().setWarningsHandler(fieldNamesFieldOk()));
471472
client().performRequest(bulkRequest);
472473

473474
// create the rollup job

0 commit comments

Comments
 (0)