Skip to content

Comments

Add Remote Store integration test infrastructure with SearchOnlyActionIT#1589

Open
lawofcycles wants to merge 1 commit intoopensearch-project:mainfrom
lawofcycles:feature/remote-store-integ-test
Open

Add Remote Store integration test infrastructure with SearchOnlyActionIT#1589
lawofcycles wants to merge 1 commit intoopensearch-project:mainfrom
lawofcycles:feature/remote-store-integ-test

Conversation

@lawofcycles
Copy link
Contributor

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 remoteStoreIntegTest Gradle task with a dedicated test cluster configured with:

As the first test on this infrastructure, SearchOnlyActionIT validates the search_only ISM 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, IndexManagementRestTestCase is 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

./gradlew remoteStoreIntegTest

Related Issues

Resolves #1564

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Signed-off-by: Sotaro Hikita <bering1814@gmail.com>
@codecov
Copy link

codecov bot commented Feb 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.44%. Comparing base (9491be7) to head (be6057b).
⚠️ Report is 5 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Add Remote Store, hot and warm nodes integration test support

1 participant