mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 19:14:41 -07:00
bad test conditional
This commit is contained in:
@@ -145,7 +145,7 @@ func TestVarz(t *testing.T) {
|
||||
if v.Connections != 1 {
|
||||
t.Fatalf("Expected Connections of 1, got %v\n", v.Connections)
|
||||
}
|
||||
if v.TotalConnections >= 1 {
|
||||
if v.TotalConnections < 1 {
|
||||
t.Fatalf("Expected Total Connections of at least 1, got %v\n", v.TotalConnections)
|
||||
}
|
||||
if v.InMsgs != 1 {
|
||||
|
||||
Reference in New Issue
Block a user