From 2e8cb7e5d36fcc0df9ac083698b985901ea0041e Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 15 Jan 2014 23:18:58 +0000 Subject: test_rinda.rb: sleep to timeout * test/rinda/test_rinda.rb (test_do_reply): sleep instead of busy loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rinda/test_rinda.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index e297f403d6..590037d95f 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -576,7 +576,7 @@ class TestRingServer < Test::Unit::TestCase if t < Process.clock_gettime(Process::CLOCK_MONOTONIC, :second) flunk "timeout during waiting call" end - Thread.pass + sleep 0.1 end assert_same @ts, called -- cgit v1.2.3