Skip to content

Backport(v1.16) test: fix Sigdump tests failure (#4846) #4850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2025
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 @@ -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)

Expand All @@ -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({})
Expand Down Expand Up @@ -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

Expand All @@ -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

Expand Down
Loading