Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

De-flake TestJetStreamClusterAccountPurge #4533

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

neilalexander
Copy link
Member

This adds a new waitForAccount test helper that ensures that an account exists across the cluster, and updates TestJetStreamClusterAccountPurge to use it after submitting new JWTs. This should prevent require no error, but got: nats: JetStream not enabled for account errors.

Signed-off-by: Neil Twigg neil@nats.io

… exist

Signed-off-by: Neil Twigg <neil@nats.io>
@neilalexander neilalexander requested a review from a team as a code owner September 14, 2023 10:41
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

LGTM!

@neilalexander neilalexander merged commit f259207 into main Sep 14, 2023
@neilalexander neilalexander deleted the neil/deflakeaccountpurge branch September 14, 2023 12:34
derekcollison added a commit that referenced this pull request Jan 6, 2025
Similar fix to #4533, but
extending to some other clustered tests, as well as one super cluster
test. Should prevent these tests from failing with `JetStream not
enabled for account`.

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
MauriceVanVeen pushed a commit that referenced this pull request Jan 9, 2025
Similar fix to #4533, but
extending to some other clustered tests, as well as one super cluster
test. Should prevent these tests from failing with `JetStream not
enabled for account`.

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants