Skip to content

De-flake TestJetStreamClusterAccountPurge#4533

Merged
neilalexander merged 1 commit intomainfrom
neil/deflakeaccountpurge
Sep 14, 2023
Merged

De-flake TestJetStreamClusterAccountPurge#4533
neilalexander merged 1 commit intomainfrom
neil/deflakeaccountpurge

Conversation

@neilalexander
Copy link
Copy Markdown
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
Copy Markdown
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>
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