Simon Willnauer 3b7d1f4d98 Prevent watcher from starting after node has shutdown ()
Some tests seem to be pretty flaky due to concurrent watcher restarts.
This change makes sure we never restart watcher once the node is shutting down.

Original commit: elastic/x-pack-elasticsearch@f0bed7269b
2018-01-24 14:16:05 +01:00
..
2018-01-18 16:34:25 -08:00