Skip to content

Commit 134f0c6

Browse files
ywelschmartijnvg
authored andcommitted
Move tribe to a module (#2088)
Companion PR to #25778
1 parent ff2c02a commit 134f0c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

server/src/test/java/org/elasticsearch/persistent/TestPersistentTasksPlugin.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
import org.elasticsearch.common.xcontent.NamedXContentRegistry;
5252
import org.elasticsearch.common.xcontent.XContentBuilder;
5353
import org.elasticsearch.common.xcontent.XContentParser;
54+
import org.elasticsearch.env.Environment;
55+
import org.elasticsearch.env.NodeEnvironment;
5456
import org.elasticsearch.plugins.ActionPlugin;
5557
import org.elasticsearch.plugins.Plugin;
5658
import org.elasticsearch.script.ScriptService;
@@ -101,7 +103,8 @@ public class TestPersistentTasksPlugin extends Plugin implements ActionPlugin {
101103
@Override
102104
public Collection<Object> createComponents(Client client, ClusterService clusterService, ThreadPool threadPool,
103105
ResourceWatcherService resourceWatcherService, ScriptService scriptService,
104-
NamedXContentRegistry xContentRegistry) {
106+
NamedXContentRegistry xContentRegistry, Environment environment,
107+
NodeEnvironment nodeEnvironment, NamedWriteableRegistry namedWriteableRegistry) {
105108
InternalClient internalClient = new InternalClient(Settings.EMPTY, threadPool, client);
106109
PersistentTasksService persistentTasksService = new PersistentTasksService(Settings.EMPTY, clusterService, threadPool, internalClient);
107110
TestPersistentTasksExecutor testPersistentAction = new TestPersistentTasksExecutor(Settings.EMPTY, clusterService);

0 commit comments

Comments
 (0)