Skip to content

Commit 5ba1426

Browse files
committed
Add a test-only feature
1 parent 3161607 commit 5ba1426

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/main/java/org/elasticsearch/ingest/IngestFeatures.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
public class IngestFeatures implements FeatureSpecification {
1818
private static final NodeFeature SIMULATE_INGEST_400_ON_FAILURE = new NodeFeature("simulate.ingest.400_on_failure", true);
1919
private static final NodeFeature INGEST_APPEND_COPY_FROM = new NodeFeature("ingest.append.copy_from", true);
20+
private static final NodeFeature INGEST_APPEND_IGNORE_EMPTY_VALUES = new NodeFeature("ingest.append.ignore_empty_values", true);
2021

2122
@Override
2223
public Set<NodeFeature> getFeatures() {
@@ -25,6 +26,6 @@ public Set<NodeFeature> getFeatures() {
2526

2627
@Override
2728
public Set<NodeFeature> getTestFeatures() {
28-
return Set.of(SIMULATE_INGEST_400_ON_FAILURE, INGEST_APPEND_COPY_FROM);
29+
return Set.of(SIMULATE_INGEST_400_ON_FAILURE, INGEST_APPEND_COPY_FROM, INGEST_APPEND_IGNORE_EMPTY_VALUES);
2930
}
3031
}

0 commit comments

Comments
 (0)