summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2026-02-03 15:27:03 +0900
committerKoichi Sasada <ko1@atdot.net>2026-02-03 17:24:45 +0900
commit8cb3663a54587fcb62242af11e0d96cccdf3ffed (patch)
tree3ea730558dbcb596ba4558de3b41dbc5f55de14c /test/ruby
parent07a0b68a85be84fa11ad63e60faeec4e4fd02490 (diff)
Try to send SEGV to show C bt
for the following failure ``` 1) Error: TestClass#test_safe_multi_ractor_subclasses_list_mutation: Test::Unit::ProxyError: execution of Test::Unit::CoreAssertions#assert_separately expired timeout (10 sec) pid 814469 killed by SIGTERM (signal 15) | /tmp/ruby/src/trunk_gcc14/test/ruby/test_class.rb:922:in 'TestClass#test_safe_multi_ractor_subclasses_list_mutation' ```
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_class.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_class.rb b/test/ruby/test_class.rb
index 8f12e06685..cc2e1ab232 100644
--- a/test/ruby/test_class.rb
+++ b/test/ruby/test_class.rb
@@ -919,7 +919,7 @@ CODE
end
def test_safe_multi_ractor_subclasses_list_mutation
- assert_ractor "#{<<~"begin;"}\n#{<<~'end;'}"
+ assert_ractor "#{<<~"begin;"}\n#{<<~'end;'}", signal: :SEGV
begin;
4.times.map do
Ractor.new do