diff --git a/server/jetstream_cluster_test.go b/server/jetstream_cluster_test.go index b1baa441..6f1607b5 100644 --- a/server/jetstream_cluster_test.go +++ b/server/jetstream_cluster_test.go @@ -3261,8 +3261,8 @@ func TestJetStreamClusterExtendedAccountInfo(t *testing.T) { if ai.Streams != 3 || ai.Consumers != 3 { t.Fatalf("AccountInfo not correct: %+v", ai) } - if ai.API.Total < 8 { - t.Fatalf("Expected at least 8 total API calls, got %d", ai.API.Total) + if ai.API.Total < 7 { + t.Fatalf("Expected at least 7 total API calls, got %d", ai.API.Total) } // Now do a failure to make sure we track API errors.