Add Remote Store integration test infrastructure with SearchOnlyActionIT#1589
Open
lawofcycles wants to merge 1 commit intoopensearch-project:mainfrom
Open
Add Remote Store integration test infrastructure with SearchOnlyActionIT#1589lawofcycles wants to merge 1 commit intoopensearch-project:mainfrom
lawofcycles wants to merge 1 commit intoopensearch-project:mainfrom
Conversation
Signed-off-by: Sotaro Hikita <bering1814@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1589 +/- ##
==========================================
+ Coverage 76.32% 76.44% +0.11%
==========================================
Files 379 381 +2
Lines 17942 18069 +127
Branches 2479 2503 +24
==========================================
+ Hits 13695 13813 +118
- Misses 2982 2991 +9
Partials 1265 1265 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add integration test infrastructure for running ISM tests against a Remote Store enabled cluster with warm and search node roles.
This PR introduces a
remoteStoreIntegTestGradle task with a dedicated test cluster configured with:[cluster_manager, data, warm][search](requires Add cluster.initial_cluster_manager_nodes to testClusters OVERRIDABLE_SETTINGS OpenSearch#20348 forcluster.initial_cluster_manager_nodesoverride)As the first test on this infrastructure,
SearchOnlyActionITvalidates thesearch_onlyISM action, which requires Remote Store + Segment Replication + search replicas to pass validation (ValidateSearchOnly). This serves as both a functional test and a verification that the test infrastructure works correctly.Additionally,
IndexManagementRestTestCaseis updated to ignore Segment Replication background tasks (segrep_publish_checkpoint,indices:admin/publishCheckpoint) during test teardown, as these tasks run continuously on Remote Store clusters.This task is not yet included in CI workflows. As more Remote Store specific tests are added, it may be worth considering adding it to CI.
For now it can be run ad hoc with
Related Issues
Resolves #1564
Check List
--signoff.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.