The problem with running anything under Ant is that it's not set up for
this kind of flow:
- start service
- run tests
- stop service
Ant is about building and is not a sequential language, so starting this
under Ant is the wrong idea.
Instead, we can invoke scripts at will from within the java
Karl,
I found this:
https://gquintana.github.io/2016/11/30/Testing-a-Java-and-Elasticsearch-50-application.html
Which should solve the issue of running elastic in the background via Ant.
I can also provide a simple setup script (sh) if that helps as well.
Michael
On Wed, Apr 22, 2020 at 12:35
I can try this one out:
https://david.pilato.fr/blog/2016/10/18/elasticsearch-real-integration-tests-updated-for-ga/
Based on a review, this would seem to accomplish that. There’s no remote
shutdown afaik. You can download, unpack and then start elastic with the
commands necessary via the