diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-15 23:18:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-15 23:18:58 +0000 |
commit | 2e8cb7e5d36fcc0df9ac083698b985901ea0041e (patch) | |
tree | be575db710ca8dc4198136f201ce3b4e26e639fe /test/rinda/test_rinda.rb | |
parent | d3c36b72efe0a1f9a3a701d9169cfa1617a1b1ed (diff) | |
download | ruby-2e8cb7e5d36fcc0df9ac083698b985901ea0041e.tar.gz |
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
Diffstat (limited to 'test/rinda/test_rinda.rb')
-rw-r--r-- | test/rinda/test_rinda.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |