Docs: Replace deprecated pluginList with Arrays.asList (#24270)

ESIntegTestCase#pluginList was remove removed in ES 5.0. We are using Arrays.asList instead.
This commit is contained in:
Michael Despotopoulos 2017-04-24 14:25:54 +03:00 committed by Christoph Büscher
parent 7c395070e2
commit 94b079ed42
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ As elasticsearch is using JUnit 4, using the `@Before` and `@After` annotations
-----------------------------------------
@Override
protected Collection<Class<? extends Plugin>> nodePlugins() {
return pluginList(CustomSuggesterPlugin.class);
return Arrays.asList(CustomSuggesterPlugin.class);
}
-----------------------------------------