diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-19 13:40:42 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-02-19 13:40:42 +0000 |
commit | bab666da0b38b2ed9f980924786e3329b4b4a752 (patch) | |
tree | f6c494a77ad12d874fd3464fe53ccc94cedc568f | |
parent | 90de52b4fdc72981be50b323fd650f6ca734d9e7 (diff) |
* 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/branches/ruby_1_8@5784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/rinda/test_rinda.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Feb 19 22:39:04 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> + + * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites. + DRb.start_service could handle this. + Thu Feb 19 22:19:00 2004 Gavin Sinclair <gsinclair@soyabean.com.au> * lib/ostruct.rb: documented 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 |