summaryrefslogtreecommitdiffstats
path: root/test/rinda
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-19 13:40:42 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-19 13:40:42 +0000
commitbb35fe45ba50631c5a569fea33c2e762e185c155 (patch)
treee1f73fc2b36c5c0f767cd0237b3a61d6f2416889 /test/rinda
parent1cb495279161dc4b066ecbb759fe196a78a24fdb (diff)
downloadruby-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
Diffstat (limited to 'test/rinda')
-rw-r--r--test/rinda/test_rinda.rb2
1 files changed, 1 insertions, 1 deletions
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