mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-13 17:58:00 -07:00
report len(ci.subs)
This commit is contained in:
@@ -363,7 +363,7 @@ func TestConnzLastActivity(t *testing.T) {
|
||||
// Test inside details of each connection
|
||||
ci := pollConz().Conns[0]
|
||||
if len(ci.Subs) != 1 {
|
||||
t.Fatalf("Expected subs of 1, got %v\n", ci.Subs)
|
||||
t.Fatalf("Expected subs of 1, got %v\n", len(ci.Subs))
|
||||
}
|
||||
firstLast := ci.LastActivity
|
||||
if firstLast.IsZero() {
|
||||
|
||||
Reference in New Issue
Block a user