Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso committed May 3, 2024
1 parent c0ec664 commit 08f933c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import org.elasticsearch.index.query.SearchExecutionContext;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.test.AbstractQueryTestCase;
import org.elasticsearch.xpack.core.XPackClientPlugin;
import org.elasticsearch.xpack.core.ml.action.CoordinatedInferenceAction;
import org.elasticsearch.xpack.core.ml.action.InferModelAction;
import org.elasticsearch.xpack.core.ml.inference.TrainedModelPrefixStrings;
Expand Down Expand Up @@ -76,7 +77,7 @@ protected TextExpansionQueryBuilder doCreateTestQueryBuilder() {

@Override
protected Collection<Class<? extends Plugin>> getPlugins() {
return List.of(MachineLearning.class, MapperExtrasPlugin.class);
return List.of(MachineLearning.class, MapperExtrasPlugin.class, XPackClientPlugin.class);
}

@Override
Expand Down

0 comments on commit 08f933c

Please sign in to comment.