Skip to content

Commit 79be69a

Browse files
authored
Ignore _field_names warning in testRollupAfterRestart (elastic#115563)
1 parent 2ddd08a commit 79be69a

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
@@ -435,6 +435,7 @@ public void testRollupAfterRestart() throws Exception {
435435

436436
final Request bulkRequest = new Request("POST", "/_bulk");
437437
bulkRequest.setJsonEntity(bulk.toString());
438+
bulkRequest.setOptions(RequestOptions.DEFAULT.toBuilder().setWarningsHandler(fieldNamesFieldOk()));
438439
client().performRequest(bulkRequest);
439440

440441
// create the rollup job

0 commit comments

Comments
 (0)