-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
De-flake
TestJetStreamClusterConsumerAckSyncReporting
(#6269)
De-flakes the test by using `checkFor`. `AckSync` only guarantees the ack was received, had quorum and is applied on the leader. It does not provided immediate consistency on all followers, so it might need some retries. Previously `c.waitOnAllCurrent()` was added but that only checks meta is current, not streams or consumers, so it would only wait for 100 milliseconds per server. Signed-off-by: Maurice van Veen <[email protected]>
- Loading branch information
Showing
1 changed file
with
31 additions
and
28 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