Skip to content

De-flake TestJetStreamClusterConsumerAckSyncReporting #6269

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

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

MauriceVanVeen
Copy link
Member

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]

@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner December 16, 2024 20:28
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit e425a9d into main Dec 16, 2024
5 checks passed
@derekcollison derekcollison deleted the maurice/consumer-ack-sync-reporting branch December 16, 2024 21:30
neilalexander added a commit that referenced this pull request Dec 17, 2024
Includes the following:

- #6269
- #6271

Signed-off-by: Neil Twigg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants