Skip to content

Commit bbef177

Browse files
committed
Revert "test_gc.rb: Attempt to stabilize test_interrupt_in_finalizer"
This reverts commit c1c0b32. This test is clearly not reliable: https://github.com/ruby/ruby/actions/runs/17446920961/job/49543543423 I want to skip this unstable test on GitHub Actions to make sure this test doesn't prevent PRs from getting merged. We can continue to monitor the state of this test on RubyCI and ci.rvm.jp.
1 parent a6d397e commit bbef177

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/ruby/test_gc.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,12 +742,13 @@ def test_exception_in_finalizer
742742
end
743743

744744
def test_interrupt_in_finalizer
745+
omit 'randomly hangs on many platforms' if ENV.key?('GITHUB_ACTIONS')
745746
bug10595 = '[ruby-core:66825] [Bug #10595]'
746747
src = <<-'end;'
747748
Signal.trap(:INT, 'DEFAULT')
748749
pid = $$
749750
Thread.start do
750-
1000.times {
751+
10.times {
751752
sleep 0.1
752753
Process.kill("INT", pid) rescue break
753754
}

0 commit comments

Comments
 (0)