diff --git a/test/test_supervisor.rb b/test/test_supervisor.rb index d684b5eeb5..38f420c6cc 100644 --- a/test/test_supervisor.rb +++ b/test/test_supervisor.rb @@ -214,6 +214,9 @@ def test_usr1_in_main_process_signal_handlers def test_cont_in_main_process_signal_handlers omit "Windows cannot handle signals" if Fluent.windows? + # https://github.com/fluent/fluentd/issues/4063 + GC.start + sv = Fluent::Supervisor.new({}) sv.send(:install_main_process_signal_handlers) @@ -229,6 +232,9 @@ def test_cont_in_main_process_signal_handlers def test_term_cont_in_main_process_signal_handlers omit "Windows cannot handle signals" if Fluent.windows? + # https://github.com/fluent/fluentd/issues/4063 + GC.start + create_debug_dummy_logger sv = Fluent::Supervisor.new({}) @@ -296,6 +302,9 @@ def test_usr1_in_supervisor_signal_handler def test_cont_in_supervisor_signal_handler omit "Windows cannot handle signals" if Fluent.windows? + # https://github.com/fluent/fluentd/issues/4063 + GC.start + server = DummyServer.new server.install_supervisor_signal_handlers @@ -311,6 +320,9 @@ def test_cont_in_supervisor_signal_handler def test_term_cont_in_supervisor_signal_handler omit "Windows cannot handle signals" if Fluent.windows? + # https://github.com/fluent/fluentd/issues/4063 + GC.start + server = DummyServer.new server.install_supervisor_signal_handlers