Skip to content

Commit 9183b16

Browse files
committed
fix unit test websocket stats
1 parent ddae7fe commit 9183b16

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

subscription_metrics_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import (
77
)
88

99
func TestWebSocketStats(t *testing.T) {
10+
ResetWebSocketStats()
11+
1012
for i := 0; i < 10; i++ {
1113
defaultWebSocketStats.AddActiveConnection(uuid.New())
1214
}

0 commit comments

Comments
 (0)