Skip to content

Commit

Permalink
De-flake TestNoRaceJetStreamClusterGhostConsumers
Browse files Browse the repository at this point in the history
Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
  • Loading branch information
MauriceVanVeen committed Oct 4, 2024
1 parent acbca0f commit 6e20f62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/jetstream_cluster_3_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@ func TestJetStreamClusterParallelConsumerCreation(t *testing.T) {
}

func TestJetStreamClusterGhostEphemeralsAfterRestart(t *testing.T) {
consumerNotActiveStartInterval = time.Second * 5
consumerNotActiveStartInterval = time.Second
defer func() {
consumerNotActiveStartInterval = defaultConsumerNotActiveStartInterval
}()
Expand Down
2 changes: 1 addition & 1 deletion server/norace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6577,7 +6577,7 @@ func TestNoRaceJetStreamConsumerCreateTimeNumPending(t *testing.T) {
}

func TestNoRaceJetStreamClusterGhostConsumers(t *testing.T) {
consumerNotActiveStartInterval = time.Second * 5
consumerNotActiveStartInterval = time.Second
defer func() {
consumerNotActiveStartInterval = defaultConsumerNotActiveStartInterval
}()
Expand Down

0 comments on commit 6e20f62

Please sign in to comment.