Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions test/test_supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,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)

Expand All @@ -279,6 +282,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({})
Expand Down Expand Up @@ -365,6 +371,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

Expand All @@ -380,6 +389,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

Expand Down