diff options
author | Valery Piashchynski <[email protected]> | 2021-08-13 11:22:57 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-13 11:22:57 +0300 |
commit | e4c29bbdaab31788b256fc79b00a31e671decdd8 (patch) | |
tree | ad1de97e84b789c49659afce9cf93a36d86f132d /tests/plugins | |
parent | e85855df8dffa82efdbaf8592701caf5512fb26b (diff) |
Update broadcast test
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/broadcast/broadcast_plugin_test.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/plugins/broadcast/broadcast_plugin_test.go b/tests/plugins/broadcast/broadcast_plugin_test.go index 93c310e3..a78b17e1 100644 --- a/tests/plugins/broadcast/broadcast_plugin_test.go +++ b/tests/plugins/broadcast/broadcast_plugin_test.go @@ -278,13 +278,11 @@ func TestBroadcastSameSubscriber(t *testing.T) { t.Run("PublishHelloFoo3", BroadcastPublishFoo3("6002")) t.Run("PublishAsyncHelloFooFoo2Foo3", BroadcastPublishAsyncFooFoo2Foo3("6002")) - time.Sleep(time.Second * 4) + time.Sleep(time.Second * 5) stopCh <- struct{}{} wg.Wait() - - time.Sleep(time.Second * 5) } func TestBroadcastSameSubscriberGlobal(t *testing.T) { |