-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for integration tests with remote cluster. #298
Adding support for integration tests with remote cluster. #298
Conversation
Signed-off-by: Sarat Vemulapalli <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #298 +/- ##
============================================
- Coverage 76.31% 75.93% -0.39%
+ Complexity 3963 3950 -13
============================================
Files 295 295
Lines 17165 17165
Branches 1812 1812
============================================
- Hits 13100 13034 -66
- Misses 3236 3299 +63
- Partials 829 832 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@saratvemulapalli is it reasonable for this to be skipped for 1.2 specifically? Only concern is backporting to 1.2 branch can delay the bundle builds more. |
@ohltyler how much of an effort/time is it to run the builds again? |
@saratvemulapalli considering we already have bug fixes backported to 1.2 today, we can add this as well if it gets merged today. Changes make sense to me. |
Build is automatic every 2 hours for around 20+10 = 30min for tar + docker. Thanks. |
Signed-off-by: Sarat Vemulapalli <[email protected]>
Signed-off-by: Sarat Vemulapalli <[email protected]>
Signed-off-by: Sarat Vemulapalli [email protected]
Description
Adding support for running integration tests with remote cluster.
Plugin integration tests depend on
opensearch.testclusters
gradle plugin exported by OpenSearch. Plugins use the same framework to run integration tests against a remote cluster. The problem is it internally downloads the right distribution to setup the test cluster even though it's not used.Until now that worked since the min artifact is published for every release.
In order to step up our testing flow as part of the release, we now would like to run integration tests before the artifacts are published to verify the bundle via https://github.com/opensearch-project/opensearch-build#integration-tests. But since the artifact is not published the tests would see:
Before:
After:
So this PR adds support to run integration tests for remote clusters without the min artifacts being published at
artifacts.opensearch.org
.Issues Resolved
opensearch-project/OpenSearch#1240
opensearch-project/opensearch-plugins#101
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.