Skip to content

Commit 5921869

Browse files
committed
Ignore _field_names warning in testRollupAfterRestart
1 parent 58ff29e commit 5921869

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
@@ -467,6 +467,7 @@ public void testRollupAfterRestart() throws Exception {
467467
bulk.append("\r\n");
468468

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

0 commit comments

Comments
 (0)