summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-15 18:50:12 +0300
committerValery Piashchynski <[email protected]>2021-09-15 18:50:12 +0300
commit2aa0b99c588dd9c6a921904966ad435d485e23bb (patch)
tree52dd79b2f62b19fe71ce1397176afc2aaedae797 /tests/plugins
parentaa7af56539177a1e1c0c115ea7e5e2f6c65215f1 (diff)
Fix websocket_plugin_test, remove sleep from the test worker
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins')
-rwxr-xr-xtests/plugins/grpc/pluginbin6022049 -> 0 bytes
-rw-r--r--tests/plugins/websockets/websocket_plugin_test.go2
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/grpc/plugin b/tests/plugins/grpc/plugin
deleted file mode 100755
index 48f92edb..00000000
--- a/tests/plugins/grpc/plugin
+++ /dev/null
Binary files differ
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"]}`)