diff options
author | Valery Piashchynski <[email protected]> | 2021-01-25 13:10:06 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-25 13:10:06 +0300 |
commit | 2a0e7d37d825da6bb0538599ce0e2edaaa59403b (patch) | |
tree | 89c00a43333246bb6c6815c923548eecd7d4e717 /tests/plugins/gzip | |
parent | b18a3578b6d299aac5dfcc016c2a3a0f6905aa0d (diff) |
resolve #415
Diffstat (limited to 'tests/plugins/gzip')
-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() } |