mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 22:09:24 +00:00
Both modules and integ-test-zip have integration tests (the latter being the base rest tests). We can currently get odd behavior where integ-test-zip's integ test does not shutdown its cluster before running mdoule integ tests (and it then tries to shutdown all those clusters at once after modules integ tests have run). The underlying issue can be attributed to a bug in gradle with how cross project mustRunAfter work with finalizers. This change works around this bug by setting up mustRunAfter on the shutdown task itself.