summaryrefslogtreecommitdiff
path: root/tests/plugins/websockets/websocket_plugin_test.go
diff options
context:
space:
mode:
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"]}`)