diff options
author | Valery Piashchynski <[email protected]> | 2021-02-03 20:05:27 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-03 20:05:27 +0300 |
commit | abb14e082cf5d0c2380a81587211512dbd78bcf0 (patch) | |
tree | c5a24ba7a587c7760e0431d532f1c3566c5e3a5d | |
parent | 8eda5dc6f0f7e05d7b3d62e1861af05b49a2574a (diff) |
Add new EXPECT mock logs to the tests
-rw-r--r-- | tests/plugins/http/http_plugin_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go index 4f99dbbb..b0bcd849 100644 --- a/tests/plugins/http/http_plugin_test.go +++ b/tests/plugins/http/http_plugin_test.go @@ -1025,6 +1025,7 @@ logs: controller := gomock.NewController(t) mockLogger := mocks.NewMockLogger(controller) + mockLogger.EXPECT().Debug("worker stderr", "pid", gomock.Any(), "message", gomock.Any()).AnyTimes() mockLogger.EXPECT().Debug("worker destructed", "pid", gomock.Any()).MinTimes(1) mockLogger.EXPECT().Debug("worker constructed", "pid", gomock.Any()).MinTimes(1) mockLogger.EXPECT().Debug("", "remote", gomock.Any(), "ts", gomock.Any(), "resp.status", gomock.Any(), "method", gomock.Any(), "uri", gomock.Any()).MinTimes(1) |