summaryrefslogtreecommitdiff
path: root/tests/plugins/websockets/websocket_plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-16 21:24:13 +0300
committerGitHub <[email protected]>2021-09-16 21:24:13 +0300
commit337d292dd2d6ff0a555098b1970d8194d8df8bc2 (patch)
treea2ab31666f95813a592bea2b207f2db0ba188c92 /tests/plugins/websockets/websocket_plugin_test.go
parent5d2cd55ab522d4f1e65a833f91146444465a32ac (diff)
parentcc56349f3ad19aa54ae7900c50e018d757305804 (diff)
[#783]: feat(grpc): update GRPC plugin to RR `v2`
[#783]: feat(grpc): update GRPC plugin to RR `v2`
Diffstat (limited to 'tests/plugins/websockets/websocket_plugin_test.go')
-rw-r--r--tests/plugins/websockets/websocket_plugin_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/websockets/websocket_plugin_test.go b/tests/plugins/websockets/websocket_plugin_test.go
index bfdc980b..3e74ca59 100644
--- a/tests/plugins/websockets/websocket_plugin_test.go
+++ b/tests/plugins/websockets/websocket_plugin_test.go
@@ -660,7 +660,7 @@ func RPCWsPubAsync(port string) func(t *testing.T) {
}()
go func() {
- messagesToVerify := make([]string, 0, 10)
+ messagesToVerify := make([]string, 0, 4)
messagesToVerify = append(messagesToVerify, `{"topic":"@join","payload":["foo","foo2"]}`)
messagesToVerify = append(messagesToVerify, `{"topic":"foo","payload":"hello, PHP"}`)
messagesToVerify = append(messagesToVerify, `{"topic":"@leave","payload":["foo"]}`)