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 | bb35fe45ba50631c5a569fea33c2e762e185c155 (patch) | |
tree | e1f73fc2b36c5c0f767cd0237b3a61d6f2416889 | |
parent | 1cb495279161dc4b066ecbb759fe196a78a24fdb (diff) | |
download | ruby-bb35fe45ba50631c5a569fea33c2e762e185c155.tar.gz ruby-bb35fe45ba50631c5a569fea33c2e762e185c155.tar.xz ruby-bb35fe45ba50631c5a569fea33c2e762e185c155.zip |
* test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.
DRb.start_service could handle this.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@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:24:04 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> * 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 9d893fcc5..d537eb0ac 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 |