[Segment Replication] [Remote Store] Replace overriding mockInternalEngine() in test classes with NRTReplicationEngine #11715
Labels
enhancement
Enhancement or improvement to existing feature or request
Indexing:Replication
Issues and PRs related to core replication framework eg segrep
Is your feature request related to a problem? Please describe
Currently many test classes related to segment replication and remote store override mockInternalEngine() to skip usage of Internal Engine for replica shards. Instead of overriding this in every test class we can conditionally return NRTReplicationEngine() from MockEngineFactory
Describe the solution you'd like
Conditionally return NRTReplicationEngine() from MockEngineFactory
Related component
Indexing:Replication
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: