summaryrefslogtreecommitdiff
path: root/tests/plugins/gzip/plugin_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/gzip/plugin_test.go')
-rw-r--r--tests/plugins/gzip/plugin_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/plugins/gzip/plugin_test.go b/tests/plugins/gzip/plugin_test.go
index d525dcc6..3e3db0f8 100644
--- a/tests/plugins/gzip/plugin_test.go
+++ b/tests/plugins/gzip/plugin_test.go
@@ -7,9 +7,10 @@ import (
"sync"
"syscall"
"testing"
+ "time"
"github.com/golang/mock/gomock"
- "github.com/spiral/endure"
+ endure "github.com/spiral/endure/pkg/container"
"github.com/spiral/roadrunner/v2/plugins/config"
"github.com/spiral/roadrunner/v2/plugins/gzip"
httpPlugin "github.com/spiral/roadrunner/v2/plugins/http"
@@ -172,6 +173,7 @@ func TestMiddlewareNotExist(t *testing.T) {
}
}()
+ time.Sleep(time.Second)
stopCh <- struct{}{}
wg.Wait()
}