From 575735664b1b77924ffdc9faf87c44c67d9be363 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 7 Apr 2019 08:18:09 +0000 Subject: [PATCH] Add debug message for test_rinda crash We often see test-all worker crash on test_rinda, but for now we even can't know which test is unstable from this output: http://ci.rvm.jp/results/trunk_gcc5@silicon-docker/1926481 Let me print `caller` on the timeout failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rinda/test_rinda.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 762d3bf678..2c2c099a74 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -801,6 +801,8 @@ class TestRingServer < Test::Unit::TestCase tl0 << th yield rescue Timeout::Error => e + $stderr.puts "TestRingServer#with_timeout: timeout in #{n}s:" + $stderr.puts caller if tl bt = e.backtrace tl.each do |t|