510ad7b9c7
This commit enables CLI commands to be closeable and installs a runtime shutdown hook to ensure that if the JVM shuts down (as opposed to aborting) the close method is called. It is not enough to wrap uses of commands in main methods in try-with-resources blocks as these will not run if, say, the virtual machine is terminated in response to SIGINT, or system shutdown event. Relates #22126 |
||
---|---|---|
.. | ||
backwards-5.0 | ||
evil-tests | ||
no-bootstrap-tests | ||
rolling-upgrade | ||
smoke-test-client | ||
smoke-test-http | ||
smoke-test-ingest-disabled | ||
smoke-test-ingest-with-all-dependencies | ||
smoke-test-multinode | ||
smoke-test-plugins | ||
smoke-test-reindex-with-painless | ||
smoke-test-tribe-node | ||
vagrant |