diff options
author | Valery Piashchynski <[email protected]> | 2020-12-20 21:26:23 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-20 21:26:23 +0300 |
commit | fd6e9cc403fc0c3857dcf29768429a374bd85636 (patch) | |
tree | 91fe20683f908052f8680267de2e07a588857a90 /plugins | |
parent | f658c68932673fc29eab386ec83219525b87be52 (diff) |
Sometimes logger log additional event, we should expect this call
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/reload/tests/reload_plugin_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/reload/tests/reload_plugin_test.go b/plugins/reload/tests/reload_plugin_test.go index 2ba9e256..82336ec9 100644 --- a/plugins/reload/tests/reload_plugin_test.go +++ b/plugins/reload/tests/reload_plugin_test.go @@ -649,6 +649,7 @@ func TestReloadNoRecursion(t *testing.T) { // http server should not be restarted. all event from wrong file extensions should be skipped mockLogger.EXPECT().Debug("http handler response received", "elapsed", gomock.Any(), "remote address", "127.0.0.1").Times(1) + mockLogger.EXPECT().Debug("file added to the list of removed files", "path", gomock.Any(), "name", gomock.Any(), "size", gomock.Any()).AnyTimes() err = cont.RegisterAll( cfg, |