diff options
Diffstat (limited to 'tests/plugins/gzip/plugin_test.go')
-rw-r--r-- | tests/plugins/gzip/plugin_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/plugins/gzip/plugin_test.go b/tests/plugins/gzip/plugin_test.go index 66767364..3e3db0f8 100644 --- a/tests/plugins/gzip/plugin_test.go +++ b/tests/plugins/gzip/plugin_test.go @@ -7,6 +7,7 @@ import ( "sync" "syscall" "testing" + "time" "github.com/golang/mock/gomock" endure "github.com/spiral/endure/pkg/container" @@ -172,6 +173,7 @@ func TestMiddlewareNotExist(t *testing.T) { } }() + time.Sleep(time.Second) stopCh <- struct{}{} wg.Wait() } |