-
Notifications
You must be signed in to change notification settings - Fork 60
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
Fix test for single node #1078
Fix test for single node #1078
Conversation
Signed-off-by: monusingh-1 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## 2.9 #1078 +/- ##
============================================
+ Coverage 74.80% 75.93% +1.13%
- Complexity 1042 1058 +16
============================================
Files 141 141
Lines 4771 4771
Branches 546 546
============================================
+ Hits 3569 3623 +54
+ Misses 858 797 -61
- Partials 344 351 +7 |
@@ -1221,6 +1221,12 @@ class StartReplicationIT: MultiClusterRestTestCase() { | |||
} | |||
|
|||
fun `test that wait_for_active_shards setting is updated on follower through start replication api`() { | |||
|
|||
//Ignore this test if clusters dont have multiple nodes | |||
if(!isMultiNodeClusterConfiguration){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we will need to fix this, Can we create a backlog and attach to the method rather than skipping?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Skip test when single node clusters are used.
wait_for_active_shards setting will not allow the index to close as more than 1 shard will not be active.
This causes the test to fail.
Issues Resolved
[List any issues this PR will resolve]
Check List
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.