Skip to content
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

Closed
wants to merge 1 commit into from

Commits on Jan 27, 2023

  1. Fix flaky SegmentReplicationITs. (#6015)

    * 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>
    github-actions[bot] committed Jan 27, 2023
    Configuration menu
    Copy the full SHA
    f8e6a2f View commit details
    Browse the repository at this point in the history