Skip to content

Commit

Permalink
fixed compile error after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed Apr 25, 2018
1 parent e6b88fa commit 596fab9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.elasticsearch.index.IndexModule;
import org.elasticsearch.index.IndexSettings;
import org.elasticsearch.index.analysis.AnalysisRegistry;
import org.elasticsearch.index.engine.InternalEngineFactory;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.test.IndexSettingsModule;
import org.elasticsearch.threadpool.ExecutorBuilder;
Expand Down Expand Up @@ -68,7 +69,7 @@ public void testWatcherDisabledTests() throws Exception {
IndexSettings indexSettings = IndexSettingsModule.newIndexSettings(Watch.INDEX, settings);
AnalysisRegistry registry = new AnalysisRegistry(TestEnvironment.newEnvironment(settings), emptyMap(), emptyMap(), emptyMap(),
emptyMap(), emptyMap(), emptyMap(), emptyMap(), emptyMap());
IndexModule indexModule = new IndexModule(indexSettings, registry);
IndexModule indexModule = new IndexModule(indexSettings, registry, new InternalEngineFactory());
// this will trip an assertion if the watcher indexing operation listener is null (which it is) but we try to add it
watcher.onIndexModule(indexModule);

Expand Down

0 comments on commit 596fab9

Please sign in to comment.