From abb14e082cf5d0c2380a81587211512dbd78bcf0 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 3 Feb 2021 20:05:27 +0300 Subject: Add new EXPECT mock logs to the tests --- tests/plugins/http/http_plugin_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/plugins') 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) -- cgit v1.2.3