File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
modules/ingest-common/src/test/java/org/elasticsearch/ingest/common Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1212import org .elasticsearch .common .bytes .BytesReference ;
1313import org .elasticsearch .common .xcontent .XContentHelper ;
1414import org .elasticsearch .ingest .IngestDocument ;
15- import org .elasticsearch .ingest .IngestPipelineTestUtils ;
1615import org .elasticsearch .ingest .RandomDocumentPicks ;
1716import org .elasticsearch .test .ESTestCase ;
1817import org .elasticsearch .xcontent .XContentBuilder ;
@@ -181,7 +180,7 @@ public void testAddToRootNestedField() throws Exception {
181180 document .put ("c" , "see" );
182181
183182 IngestDocument ingestDocument = RandomDocumentPicks .randomIngestDocument (random (), document );
184- ingestDocument = IngestPipelineTestUtils . runWithRandomAccessPattern (ingestDocument , jsonProcessor );
183+ jsonProcessor . execute (ingestDocument );
185184
186185 Map <String , Object > sourceAndMetadata = ingestDocument .getSourceAndMetadata ();
187186 assertEquals (1 , sourceAndMetadata .get ("a" ));
You can’t perform that action at this time.
0 commit comments