-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Bats tests should use plugins built in the elasticsearch repository #12651
Comments
Sounds like a good idea! |
I'm so going to do this once we merge #12646 |
I like this idea, but do we have a plugin in this repository that has a |
+1 on ditching watcher... and +1 on a plugin with |
I guess we can add that to the jvm example plugin: https://github.com/elastic/elasticsearch/tree/master/plugins/jvm-example |
I've already started.... |
This will be useful in testing the plugin installer. Relates to elastic#12651
Ok! All done. The tests all use the jvm-example plugin and no longer try to use watcher. They deserve some more refactoring and we should really be installing all the plugins to make sure they make it. But I'll do that under #12717. |
Silly closed icon! I didn't reject this issue! I fixed it in four different pull requests! |
@nik9000 Why did not you push your change to 2.0 branch? On purpose? |
Do we need it in 2.0? I was going by the mantra of "don't push anything we don't need there". I think I have quite a few bats changes just in master that aren't in 2.0 yet. I can push them if you think its important. For the most part it'd probably work just fine to test 2.0-beta-whatever changes by staging them in the testroot or changing the elasticsearch.verion in master. |
I don't know. While merging some of my PR from master to 2.0 branch, I just discovered that was not merge and that 2.0 branch still wants to install shield for vagrant tests. Not a big deal to me. Was just asking if it was intentional not to merge it or just that you forgot :) |
This will be useful in testing the plugin installer. Relates to elastic#12651
The bats tests currently install watcher to test installing plugins. It should really install one of the plugins built by the elasticsearch repository. Watcher can test itself. This will also solve the issue of not being able to run the tests properly when there isn't a watcher plugin available for the version of elasticsearch we're building. There will always be an appropriate version of the locally built plugins around because we build it as part of the build.
The text was updated successfully, but these errors were encountered: