summaryrefslogtreecommitdiff
path: root/tests/plugins/gzip
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-20 12:09:39 +0300
committerValery Piashchynski <[email protected]>2021-04-20 12:09:39 +0300
commit2faf7bc2cd883294306466282f313bc5a1dc79ef (patch)
treea1e94592452e7840a5ce7c615766330e0a23fdb7 /tests/plugins/gzip
parenta3ced86a77b406bd8d127135636d33e12517d7f8 (diff)
- Make http.Serve() async
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/gzip')
-rw-r--r--tests/plugins/gzip/plugin_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugins/gzip/plugin_test.go b/tests/plugins/gzip/plugin_test.go
index 9a9c760b..844fd411 100644
--- a/tests/plugins/gzip/plugin_test.go
+++ b/tests/plugins/gzip/plugin_test.go
@@ -81,6 +81,7 @@ func TestGzipPlugin(t *testing.T) {
}
}()
+ time.Sleep(time.Second * 2)
t.Run("GzipCheckHeader", headerCheck)
stopCh <- struct{}{}