Adding support for integration tests with remote cluster.#298
Adding support for integration tests with remote cluster.#298saratvemulapalli merged 1 commit intoopensearch-project:mainfrom saratvemulapalli:main
Conversation
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #298 +/- ##
============================================
- Coverage 76.32% 75.93% -0.40%
+ Complexity 3967 3950 -17
============================================
Files 295 295
Lines 17165 17165
Branches 1812 1812
============================================
- Hits 13101 13034 -67
- Misses 3238 3299 +61
- Partials 826 832 +6
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
@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 vemulapallisarat@gmail.com
Description
Adding support for running integration tests with remote cluster.
Plugin integration tests depend on
opensearch.testclustersgradle 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.