mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Merge pull request #3939 from nats-io/fix-jsz-mon-test
Fix flaky test TestMonitorJsz/raftgroups
This commit is contained in:
@@ -4427,7 +4427,7 @@ func TestMonitorJsz(t *testing.T) {
|
||||
t.Fatal("expected stream raft group info to be included")
|
||||
}
|
||||
crgroup := si.ConsumerRaftGroups[0]
|
||||
if crgroup.Name != "my-consumer-replicated" {
|
||||
if crgroup.Name != "my-consumer-replicated" && crgroup.Name != "my-consumer-mirror" {
|
||||
t.Fatalf("expected consumer name to be included in raft group info, got: %v", crgroup.Name)
|
||||
}
|
||||
if len(crgroup.RaftGroup) == 0 {
|
||||
|
||||
Reference in New Issue
Block a user