summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-15 23:18:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-15 23:18:58 +0000
commit2e8cb7e5d36fcc0df9ac083698b985901ea0041e (patch)
treebe575db710ca8dc4198136f201ce3b4e26e639fe /test/rinda
parentd3c36b72efe0a1f9a3a701d9169cfa1617a1b1ed (diff)
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')
-rw-r--r--test/rinda/test_rinda.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index e297f403d6e..590037d95f7 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