Fix flaky tests fromSegmentReplicationAllocationIT#17429
Merged
andrross merged 6 commits intoopensearch-project:mainfrom Feb 25, 2025
Merged
Fix flaky tests fromSegmentReplicationAllocationIT#17429andrross merged 6 commits intoopensearch-project:mainfrom
SegmentReplicationAllocationIT#17429andrross merged 6 commits intoopensearch-project:mainfrom
Conversation
Contributor
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17429 +/- ##
============================================
- Coverage 72.49% 72.45% -0.05%
+ Complexity 65717 65697 -20
============================================
Files 5303 5304 +1
Lines 304793 304981 +188
Branches 44202 44238 +36
============================================
+ Hits 220966 220979 +13
- Misses 65693 65881 +188
+ Partials 18134 18121 -13 ☔ View full report in Codecov by Sentry. |
SegmentReplicationAllocationIT.testAllocationAndRebalanceWithDisruption
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
b799100 to
0651098
Compare
SegmentReplicationAllocationIT.testAllocationAndRebalanceWithDisruptionSegmentReplicationAllocationIT
Contributor
|
❕ Gradle check result for 0651098: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Contributor
Author
Flaky test from #16145 |
andrross
approved these changes
Feb 25, 2025
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Feb 25, 2025
* Fix flaky tests in SegmentReplicationAllocationIT Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Remove extra logs Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Account for replicas as well Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Reduce upper limit on no. of indices Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Only verified changes Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Fix testSingleIndexShardAllocation Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> (cherry picked from commit e397903) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
vinaykpud
pushed a commit
to vinaykpud/OpenSearch
that referenced
this pull request
Feb 26, 2025
…ect#17429) * Fix flaky tests in SegmentReplicationAllocationIT Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Remove extra logs Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Account for replicas as well Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Reduce upper limit on no. of indices Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Only verified changes Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Fix testSingleIndexShardAllocation Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com>
vinaykpud
pushed a commit
to vinaykpud/OpenSearch
that referenced
this pull request
Mar 18, 2025
…ect#17429) * Fix flaky tests in SegmentReplicationAllocationIT Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Remove extra logs Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Account for replicas as well Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Reduce upper limit on no. of indices Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Only verified changes Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> * Fix testSingleIndexShardAllocation Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> --------- Signed-off-by: Lakshya Taragi <lakshya.taragi@gmail.com> Signed-off-by: Vinay Krishna Pudyodu <vinkrish.neo@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
testAllocationAndRebalanceWithDisruption10 * 2 * (1 + 2)) which was causing transport related failures unrelated to the scope of the test.testSingleIndexShardAllocationRelated Issues
Resolves #14327
Check List
API changes companion pull request created, if applicable.Public documentation issue/PR created, if applicable.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.