summaryrefslogtreecommitdiff
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
commit464fbf7b4fef77ddc352af2bd7582e3ed36fb643 (patch)
treee1f73fc2b36c5c0f767cd0237b3a61d6f2416889 /test/rinda
parentb61d1549d43e4c0afa2367a22c979d215976bd3e (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/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 9d893fc..d537eb0 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