mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
The Elasticsearch `run` task in Gradle is backed by testclusters spinning up a node and waiting indefinitely on output from that node. However, this thread currently waits for an interrupt to exit. If Elasticsearch fails to start, we hang indefinitely. This commit adds a check after each poll of the process stdout to see if it is still alive, and fails the build if it has died. closes #60761