diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 17:17:40 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-19 17:17:40 +0300 |
commit | 5aea2b99955e2b8b4f5724e6c4c7e696a894651e (patch) | |
tree | 858469341427a7f879141966ab9b6dfe259488da /tests/plugins/gzip | |
parent | 26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed (diff) |
Add worker_destruct handling in the mocked logger
Diffstat (limited to 'tests/plugins/gzip')
-rw-r--r-- | tests/plugins/gzip/plugin_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugins/gzip/plugin_test.go b/tests/plugins/gzip/plugin_test.go index 9cf21b74..d525dcc6 100644 --- a/tests/plugins/gzip/plugin_test.go +++ b/tests/plugins/gzip/plugin_test.go @@ -117,6 +117,7 @@ func TestMiddlewareNotExist(t *testing.T) { mockLogger.EXPECT().Warn("requested middleware does not exist", "requested", "foo").AnyTimes() mockLogger.EXPECT().Debug("worker constructed", "pid", gomock.Any()).AnyTimes() + mockLogger.EXPECT().Debug("worker destructed", "pid", gomock.Any()).AnyTimes() mockLogger.EXPECT().Error(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes() // placeholder for the workerlogerror err = cont.RegisterAll( |