summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-07 08:18:09 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-07 08:18:09 +0000
commit575735664b1b77924ffdc9faf87c44c67d9be363 (patch)
tree9c78b268834f0f840994a960cda2d246686df324 /test/rinda
parent93ecb9a1de00db26f1581392ae519a6a9faeab0d (diff)
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
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 762d3bf678f..2c2c099a746 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|