Skip to content

Commit e303926

Browse files
committed
fix
1 parent 9ea92f2 commit e303926

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test/framework/src/test/java/org/elasticsearch/logsdb/datageneration/DataGenerationTests.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
import org.elasticsearch.test.ESTestCase;
2121
import org.elasticsearch.xcontent.XContentBuilder;
2222
import org.elasticsearch.xcontent.XContentType;
23+
import org.elasticsearch.xpack.constantkeyword.ConstantKeywordMapperPlugin;
2324
import org.elasticsearch.xpack.countedkeyword.CountedKeywordMapperPlugin;
2425
import org.elasticsearch.xpack.unsignedlong.UnsignedLongMapperPlugin;
26+
import org.elasticsearch.xpack.wildcard.Wildcard;
2527

2628
import java.io.IOException;
2729
import java.util.Collection;
@@ -111,7 +113,13 @@ public DataSourceResponse.FieldTypeGenerator handle(DataSourceRequest.FieldTypeG
111113
var mappingService = new MapperServiceTestCase() {
112114
@Override
113115
protected Collection<? extends Plugin> getPlugins() {
114-
return List.of(new UnsignedLongMapperPlugin(), new MapperExtrasPlugin(), new CountedKeywordMapperPlugin());
116+
return List.of(
117+
new UnsignedLongMapperPlugin(),
118+
new MapperExtrasPlugin(),
119+
new CountedKeywordMapperPlugin(),
120+
new ConstantKeywordMapperPlugin(),
121+
new Wildcard()
122+
);
115123
}
116124
}.createMapperService(mappingXContent);
117125

0 commit comments

Comments
 (0)