forked from redpanda-data/redpanda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
r/tests: always use current leader offsets in linearizable barrier test
Previously the linearizable barrier test might use out of date leader offsets to assert if the barrier was executed correctly. This made the test flaky especially for slow debug builds where leadership can change throughout the test. Signed-off-by: Michal Maslanka <michal@redpanda.com>
- Loading branch information
1 parent
64d58c6
commit 042e111
Showing
1 changed file
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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