Skip to content

Commit 1f3e4ec

Browse files
committed
nit
1 parent 3b0f998 commit 1f3e4ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/RemediateProcessorTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public void testRemediate_missingSourceInsideDocument_throws() {
118118
Map<String, Object> sourceAndMetadata = new HashMap<>();
119119
sourceAndMetadata.put("_index", "failure-index");
120120
sourceAndMetadata.put("error", "simulated failure");
121+
sourceAndMetadata.put("_version", 1L);
121122
sourceAndMetadata.put("document", Map.of("index", "orig-index")); // missing "source"
122123

123124
IngestDocument doc = new IngestDocument(sourceAndMetadata, new HashMap<>());

0 commit comments

Comments
 (0)