You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem?
With the existing implementation of integration tests, opensearch plugins use the same test framework as local integration tests which spin up test clusters by itself. This is a hacky way to override the endpoint from local spun up test clusters (via opensearch.testclusters gradle plugin) with the remote cluster endpoint.
The solution doesn't work when we would like to test the opensearch bundle as part of the release. The test frameworks expect the artifact to be available before we could test them. To clean this up, plugins have to create gradle scripts for remote endpoints to run https://github.com/opensearch-project/opensearch-build#integration-tests for the release cycle.
No. We had a discussion around it, as a result amending the recommendations on the TESTING document at the project level here. TL;DR in some cases it is not practical to run tests pointing to an external cluster if the cluster settings themselves are under test and we need to recreate a variety of scenarios.
Closing as the security plugin will not be moving to the infra cluster for the reasons in the discussion linked above. If there are any concerns, let's resuscitate that discussion.
Is your feature request related to a problem?
With the existing implementation of integration tests, opensearch plugins use the same test framework as local integration tests which spin up test clusters by itself. This is a hacky way to override the endpoint from local spun up test clusters (via
opensearch.testclusters
gradle plugin) with the remote cluster endpoint.The solution doesn't work when we would like to test the opensearch bundle as part of the release. The test frameworks expect the artifact to be available before we could test them. To clean this up, plugins have to create gradle scripts for remote endpoints to run https://github.com/opensearch-project/opensearch-build#integration-tests for the release cycle.
What solution would you like?
Refer to: opensearch-project/anomaly-detection#298 and make similar changes to the plugin.
Also if you have a custom name to invoke these tests, update the
integtest.sh
script in https://github.com/opensearch-project/opensearch-build/blob/main/scripts/default/integtest.shThe text was updated successfully, but these errors were encountered: