Skip to content

Commit 596fab9

Browse files
committed
fixed compile error after merge
1 parent e6b88fa commit 596fab9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/WatcherPluginTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import org.elasticsearch.index.IndexModule;
1111
import org.elasticsearch.index.IndexSettings;
1212
import org.elasticsearch.index.analysis.AnalysisRegistry;
13+
import org.elasticsearch.index.engine.InternalEngineFactory;
1314
import org.elasticsearch.test.ESTestCase;
1415
import org.elasticsearch.test.IndexSettingsModule;
1516
import org.elasticsearch.threadpool.ExecutorBuilder;
@@ -68,7 +69,7 @@ public void testWatcherDisabledTests() throws Exception {
6869
IndexSettings indexSettings = IndexSettingsModule.newIndexSettings(Watch.INDEX, settings);
6970
AnalysisRegistry registry = new AnalysisRegistry(TestEnvironment.newEnvironment(settings), emptyMap(), emptyMap(), emptyMap(),
7071
emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap());
71-
IndexModule indexModule = new IndexModule(indexSettings, registry);
72+
IndexModule indexModule = new IndexModule(indexSettings, registry, new InternalEngineFactory());
7273
// this will trip an assertion if the watcher indexing operation listener is null (which it is) but we try to add it
7374
watcher.onIndexModule(indexModule);
7475

0 commit comments

Comments
 (0)