Skip to content

Commit

Permalink
Fix flaky SegmentReplicationITs.
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
mch2 committed Jan 25, 2023
1 parent ac18db7 commit 0c48ba3
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 204 deletions.
Loading

0 comments on commit 0c48ba3

Please sign in to comment.