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 /test | |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/rinda/test_rinda.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |