diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 14:57:58 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-19 14:57:58 +0300 |
commit | 75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (patch) | |
tree | ff51fa5552b897db6e118f3da6771f248efaeaa6 /tests/plugins/http | |
parent | 8704e833dffd7d41614830b5347ba15fa9f297fd (diff) | |
parent | d34f7defd974918d64c225a535a2d98f3f7294cf (diff) |
Merge pull request #486 from spiral/refactor/better_http_debug_logs
refactor(http): Uniform debug message from the http hanlder
Diffstat (limited to 'tests/plugins/http')
-rw-r--r-- | tests/plugins/http/http_plugin_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/http/http_plugin_test.go b/tests/plugins/http/http_plugin_test.go index 3aa0f57a..51bf7d0b 100644 --- a/tests/plugins/http/http_plugin_test.go +++ b/tests/plugins/http/http_plugin_test.go @@ -1027,7 +1027,7 @@ logs: mockLogger.EXPECT().Info("worker destructed", "pid", gomock.Any()).MinTimes(1) mockLogger.EXPECT().Info("worker constructed", "pid", gomock.Any()).MinTimes(1) - mockLogger.EXPECT().Debug("http handler response received", "elapsed", gomock.Any(), "remote address", "127.0.0.1").MinTimes(1) + mockLogger.EXPECT().Debug("", "remote", gomock.Any(), "ts", gomock.Any(), "resp.status", gomock.Any(), "method", gomock.Any(), "uri", gomock.Any()).MinTimes(1) mockLogger.EXPECT().Info("WORLD", "pid", gomock.Any()).MinTimes(1) mockLogger.EXPECT().Debug("worker event received", "event", events.EventWorkerLog, "worker state", gomock.Any()).MinTimes(1) mockLogger.EXPECT().Info(gomock.Any(), gomock.Any(), gomock.Any()).AnyTimes() // placeholder for the workerlogerror |