summaryrefslogtreecommitdiff
path: root/test/rinda
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-23 19:13:37 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-23 19:13:37 +0000
commit71012b3aa7906ec00eab1e815c059199234b134b (patch)
tree435c33c00ea45dc07a7c270cd99da8f809526d01 /test/rinda
parent90d9413391ea3f7d05b5cf38e6eef676ec68a529 (diff)
* test/rinda/test_rinda.rb: Fixed test failures in r39890 and r39890
due to stopping DRb service. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb
index 13f5d6d..59b769c 100644
--- a/test/rinda/test_rinda.rb
+++ b/test/rinda/test_rinda.rb
@@ -478,13 +478,11 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
end
def test_take_bug_8215
- DRb.stop_service
service = DRb.start_service(nil, @ts_base)
uri = service.uri
take = fork do
- DRb.stop_service
DRb.start_service
ro = DRbObject.new_with_uri(uri)
ts = Rinda::TupleSpaceProxy.new(ro)
@@ -500,7 +498,6 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
@ts_base.take([:barrier, :continue])
write = fork do
- DRb.stop_service
DRb.start_service
ro = DRbObject.new_with_uri(uri)
ts = Rinda::TupleSpaceProxy.new(ro)
@@ -514,7 +511,6 @@ class TupleSpaceProxyTest < Test::Unit::TestCase
ensure
Process.kill("TERM", write) if write && status.nil?
Process.kill("TERM", take) if take
- service.stop_service
end
@server = DRb.primary_server || DRb.start_service