You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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 aslang-painless
, people need to resort to third party artifacts (such asorg.codelibs.elasticsearch.module:lang-painless
).This is basically a follow-up for https://discuss.elastic.co/t/elasticsearch-java-testing-framework-and-plugins/84703.
The text was updated successfully, but these errors were encountered: