mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 05:58:44 +00:00
In our tests you have to explicitly shut down watcher rather than shut down the node it is running on because of thread leak detection. Just shutting down the node that it is running on will cause it to start up on another node if there is another one running and then not properly shut down. This is probably something that should be fixed in watcher somehow but for now lets just be more careful with the tests. Closes elastic/elasticsearch#2365 Closes elastic/elasticsearch#2588 Original commit: elastic/x-pack-elasticsearch@fb8a172972