Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Maven artifacts for modules and plugins #24528

Closed
joschi opened this issue May 6, 2017 · 1 comment
Closed

Provide Maven artifacts for modules and plugins #24528

joschi opened this issue May 6, 2017 · 1 comment

Comments

@joschi
Copy link
Contributor

joschi commented May 6, 2017

Describe the feature:

Using the Java Testing Framework is a great way to test client implementations such as Jest against various scenarios involving one or more Elasticsearch nodes.

Unfortunately, it doesn't seem to support installing plugins on the Elasticsearch test instances out of the box except for registering the plugin classes directly by overriding ESIntegTestCase#nodePlugins(). In order to do this, the plugins need to be on the JVM class path at compile time, but since there are no official Maven artifacts for the various Elasticsearch modules and plugins, such as lang-painless, people need to resort to third party artifacts (such as org.codelibs.elasticsearch.module:lang-painless).

This is basically a follow-up for https://discuss.elastic.co/t/elasticsearch-java-testing-framework-and-plugins/84703.

@jasontedor
Copy link
Member

This has been discussed previously, for example #18131.

ESIntegTestCase is useful for testing the internals of Elasticsearch but we think that client integration tests should not use it but rather spin up an actual node with any necessary plugins installed (relates #21544). We provide infrastructure for this, although it needs some polishing (relates #21119).

Since this has been discussed previously and I think we're going to come to the same conclusion, I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants