-
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
[Backport 2.x] Fix flaky SegmentReplicationITs. #6053
Conversation
* Fix flaky SegmentReplicationITs. This change fixes flakiness with segment replication ITs. It does this by updating the wait condition used to ensure replicas are up to date to wait until a searched docCount is reached instead of output of the Segments API that can change if there are concurrent refreshes. It also does this by updating the method used to assert segment stats to wait until the assertion holds true rather than at a point in time. This method is also updated to assert store metadata directly over API output. Signed-off-by: Marc Handalian <[email protected]> * Fix error message to print expected and actual doc counts. Signed-off-by: Marc Handalian <[email protected]> * PR feedback. Signed-off-by: Marc Handalian <[email protected]> * spotless. Signed-off-by: Marc Handalian <[email protected]> Signed-off-by: Marc Handalian <[email protected]> (cherry picked from commit ade01ec) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## 2.x #6053 +/- ##
=========================================
Coverage 70.54% 70.54%
Complexity 58994 58994
=========================================
Files 4769 4769
Lines 282621 282621
Branches 41167 41167
=========================================
Hits 199385 199385
Misses 66544 66544
Partials 16692 16692 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Gradle Check (Jenkins) Run Completed with:
|
Failed due to SegRepRelocationIT testPrimaryRelocationWithSegRepFailure, this will be fixed in backport of #5898
|
Gradle Check (Jenkins) Run Completed with:
|
Failing again with same error. This seems to be failing persistently. This may get resolved with #5898
|
Closing in favour of #6055 |
Backport ade01ec from #6015.