-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Rmote Store] Run integ tests with segrep and remote store enabled #12458
Comments
We have added parameterized tests for replication-focused tests to run both docrep and segrep. We've also added randomization to randomly select replication strategy for other tests not focused on replication. @Rishikesh1159 can you provide more detail about where we're at now and the testing you've done with enabling segrep-with-remote-store? |
Running Integ Tests with Segment Replication and Remote Store.Goal :Run integ tests with segrep and remote store enabled. Problem :We have two problems to acheive our goal: 1. Waiting after refresh : After a refresh, we need to wait some time for replicas to catch up with primary shards. The tests will fail with assertion on replica shard before it has caught up with primary. 2. Running all integ Tests : Every Integ Test is different, so there is no single framework for us to follow and enable segrep for all Integ Test at once. There are certain tests that test the behaviour not supported by segrep in this case those tests will fail if we run them with segment replication enabled. Plan to Overcome Problems :1. Waiting after refresh :
2. Running all integ Tests : Every Integ Test that we want to run with segrep/remote-store can be divided into below 4 categories: A. Critical Tests related to segrep/remote-store :
B. Non Crititical Tests :
C. Segrep/Remote-Store Specific Integ Tests :
D. Integ Tests not compatible with segrep/remote-store :
How to a run an existing Integ test with segrep/remote-store :Step 1 :
Step 2 :
Step 3 :
Step 4 :
Current Status :To reach the goal of Running Integ tests with segrep and remote store enabled. We need completion of following steps: Step 1 :
Step 2 :
Step 3 :
Step 4 :
Step 5 :
Step 6 :
|
Sure @andrross . @Bukhtawar here is current status: Current Status : Step 1 :
Step 2 :
Step 3 :
Step 4 :
Step 5 :
Step 6 :
As mentioned above we are currently working on steps 4,5. Once those are completed the process and framework will be completed and only step 6 will be remaining. |
Is your feature request related to a problem? Please describe
We run integ tests without segrep or remote store enabled defaulting to docrep, which might create regression and mostly tech debt during release activities where we need to depend on manual sign-offs.
Describe the solution you'd like
Given the rate of changes we make we need to enable running randomised testing on decrep/segrep/remote store modes to improve code fidelity.
Related component
Storage
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: