http://fb64b.rubyci.org/~chkbuild/ruby-trunk/log/20140115T073301Z.log.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-01-15 08:26:52 +00:00
Родитель cfa2a21062
Коммит 251de3209b
1 изменённых файлов: 8 добавлений и 2 удалений

Просмотреть файл

@ -4,7 +4,7 @@ require 'drb/drb'
require 'drb/eq'
require 'rinda/ring'
require 'rinda/tuplespace'
require 'timeout'
require 'singleton'
module Rinda
@ -571,7 +571,13 @@ class TestRingServer < Test::Unit::TestCase
@rs.do_reply
Thread.pass until called
t = 10 + Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)
until called
if t < Process.clock_gettime(Process::CLOCK_MONOTONIC, :second)
flunk "timeout during waiting call"
end
Thread.pass
end
assert_same @ts, called
end