[Segment Replication] Create new Segment Replication client to support running Integ Tests with Segment Replication enabled #8925
Labels
distributed framework
Indexing:Replication
Issues and PRs related to core replication framework eg segrep
Describe the bug
Currently all the integ tests in opensearch codebase in one way or another inherit from single parent class OpenSearchIntegTestCase. So we need to create a SegRep client in OpenSearchIntegTestCase class so that all integ tests inheriting this class can be ran against segment replication (with waiting until replica catching up behaviour.)
This issue is being tracked as a sub task and part of meta issue #6761
Expected behavior
Creating a new segment replication client similar to Randomized Client, and then we override the search or refresh methods in client to wait until replica shard has caught up.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: