OpenSearch has a built in gradle task
run to spin up a testcluster.
This is a very useful feature for plugin authors expecially if they use the plugin template (which defines its own modification of
run task). It gives author easy way how to spin up a new testcluster with their plugin deployed.
However, when it comes to "core" plugins (that is plugins in
plugins folder) then the
run task does not seem to be setup correctly to spin up a clus