From 0ef16538fedaa4584f1d1e67dfd727b66704742e Mon Sep 17 00:00:00 2001 From: Suvorov Daniil Date: Fri, 21 Jan 2022 19:36:34 +0300 Subject: [PATCH] test: TestStreaming_Run more sleep --- streaming/streaming_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/streaming_test.go b/streaming/streaming_test.go index 9fc043de..98dd771a 100644 --- a/streaming/streaming_test.go +++ b/streaming/streaming_test.go @@ -137,7 +137,7 @@ func TestStreaming_Run(t *testing.T) { //nolint:paralleltest good := make(chan bool, 1) exit := make(chan bool, 1) - time.Sleep(time.Second) + time.Sleep(3 * time.Second) err := stream.UpdateRules([]streaming.Rule{{Tag: "test", Value: "привет"}}) if !assert.NoError(t, err) {