mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Currently elasticsearch in integ tests is started using an ant task on windows, or gradle exec on everything else. However, gradle exec has some flaws, one being Ctrl-C does not run finalizedBy tasks, which means interrupting integ tests will leak a jvm. This change makes all systems use ant exec. One caveat is, if there is any output by the jvm, we lose it in ant bit heaven. But this is no different than what we had with gradle. In the future, we should look at using a separate thread to pump streams from the elasticsearch process. closes #14701