diff --git a/pkg/services/rpcsrv/subscription_test.go b/pkg/services/rpcsrv/subscription_test.go index cae8ba5d1..0017740c3 100644 --- a/pkg/services/rpcsrv/subscription_test.go +++ b/pkg/services/rpcsrv/subscription_test.go @@ -590,11 +590,9 @@ func doSomeWSRequest(t *testing.T, ws *websocket.Conn) { } func TestWSClientsLimit(t *testing.T) { - for tname, limit := range map[string]int{"default": 0, "8": 8, "disabled": -1} { + for tname, limit := range map[string]int{"8": 8, "disabled": -1} { effectiveClients := limit - if limit == 0 { - effectiveClients = defaultMaxWebSocketClients - } else if limit < 0 { + if limit < 0 { effectiveClients = 0 } t.Run(tname, func(t *testing.T) {