From 464fbf7b4fef77ddc352af2bd7582e3ed36fb643 Mon Sep 17 00:00:00 2001 From: nahi Date: Thu, 19 Feb 2004 13:40:42 +0000 Subject: [PATCH] * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites. DRb.start_service could handle this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ test/rinda/test_rinda.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index efb45d6bb1..9371a7571d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 19 22:39:04 2004 NAKAMURA, Hiroshi + + * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites. + DRb.start_service could handle this. + Thu Feb 19 22:24:04 2004 NAKAMURA, Hiroshi * lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class. diff --git a/test/rinda/test_rinda.rb b/test/rinda/test_rinda.rb index 9d893fcc52..d537eb0ac1 100644 --- a/test/rinda/test_rinda.rb +++ b/test/rinda/test_rinda.rb @@ -360,7 +360,7 @@ class TupleSpaceProxyTest < Test::Unit::TestCase @ts = Rinda::TupleSpaceProxy.new(@ts_base) end - @server = DRb.start_service + @server = DRb.primary_server || DRb.start_service end end