From 179c7655bdef146cfbc39618ceb94793cb3e4db1 Mon Sep 17 00:00:00 2001 From: majimenez-stratio Date: Mon, 1 Nov 2021 00:59:23 +0100 Subject: [PATCH] Fix unit test Signed-off-by: majimenez-stratio --- test/plugin/test_in_tail.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/plugin/test_in_tail.rb b/test/plugin/test_in_tail.rb index 89296da69a..40b738fdab 100644 --- a/test/plugin/test_in_tail.rb +++ b/test/plugin/test_in_tail.rb @@ -516,7 +516,7 @@ def test_shorter_than_rotate_wait rotated = false detached = false d = create_driver(config) - mock.proxy(d.instance).setup_watcher(anything, anything) do |tw| + mock.proxy(d.instance).setup_watcher(anything, anything, anything) do |tw| mock.proxy(tw).detach(anything) do |v| detached = true v @@ -2188,7 +2188,7 @@ def test_ENOENT_error_after_setup_watcher 'format' => 'none', }) d = create_driver(config) - mock.proxy(d.instance).setup_watcher(anything, anything) do |tw| + mock.proxy(d.instance).setup_watcher(anything, anything, anything) do |tw| cleanup_file(path) tw end