summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-03 20:05:27 +0300
committerValery Piashchynski <[email protected]>2021-02-03 20:05:27 +0300
commitabb14e082cf5d0c2380a81587211512dbd78bcf0 (patch)
treec5a24ba7a587c7760e0431d532f1c3566c5e3a5d
parent8eda5dc6f0f7e05d7b3d62e1861af05b49a2574a (diff)
Add new EXPECT mock logs to the tests
-rw-r--r--tests/plugins/http/http_plugin_test.go1
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)