Skip to content

Commit

Permalink
merg
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Hanel <mh@synadia.com>
  • Loading branch information
matthiashanel committed Jul 11, 2022
1 parent b165a54 commit c527f63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions server/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2153,8 +2153,6 @@ func TestServerEventsPingMonitorz(t *testing.T) {
[]string{"now", "leafs"}},
{"ACCOUNTZ", &AccountzOptions{Account: sysAcc}, &Accountz{},
[]string{"now", "account_detail"}},
{"ACC_STATZ", &AccountStatzOptions{Accounts: []string{sysAcc}}, &Accountz{},
[]string{"now", "account_statz"}},
{"LEAFZ", &LeafzOptions{Account: sysAcc}, &Leafz{},
[]string{"now", "leafs"}},

Expand Down
2 changes: 1 addition & 1 deletion server/monitor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3873,7 +3873,7 @@ func TestMonitorAccountz(t *testing.T) {
body = string(readBody(t, fmt.Sprintf("http://127.0.0.1:%d%s?acc=$SYS", s.MonitorAddr().Port, AccountzPath)))
require_Contains(t, body, `"account_detail": {`)
require_Contains(t, body, `"account_name": "$SYS",`)
require_Contains(t, body, `"subscriptions": 42,`)
require_Contains(t, body, `"subscriptions": 40,`)
require_Contains(t, body, `"is_system": true,`)
require_Contains(t, body, `"system_account": "$SYS"`)

Expand Down

0 comments on commit c527f63

Please sign in to comment.