summaryrefslogtreecommitdiff
path: root/tests/plugins/http
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/http')
-rw-r--r--tests/plugins/http/http_plugin_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go
index 9cd1c147..0b6fb77a 100644
--- a/tests/plugins/http/http_plugin_test.go
+++ b/tests/plugins/http/http_plugin_test.go
@@ -1216,10 +1216,12 @@ func TestHttpBrokenPipes(t *testing.T) {
assert.NoError(t, err)
err = cont.Init()
- assert.Error(t, err)
+ assert.NoError(t, err)
_, err = cont.Serve()
assert.Error(t, err)
+
+ assert.NoError(t, cont.Stop())
}
func TestHTTPSupervisedPool(t *testing.T) {