Skip to content

Commit 4eacf6e

Browse files
committed
fix targetField randomization in JoinProcessorTests (#26206)
Closes #26203.
1 parent 37eb425 commit 4eacf6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void testJoinWithTargetField() throws Exception {
124124
}
125125
}
126126
String fieldName = RandomDocumentPicks.addRandomField(random(), ingestDocument, fieldValue);
127-
String targetFieldName = RandomDocumentPicks.randomFieldName(random());
127+
String targetFieldName = fieldName + randomAlphaOfLength(5);
128128
Processor processor = new JoinProcessor(randomAlphaOfLength(10), fieldName, separator, targetFieldName);
129129
processor.execute(ingestDocument);
130130
assertThat(ingestDocument.getFieldValue(targetFieldName, String.class), equalTo(expectedResult));

0 commit comments

Comments
 (0)