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 | d8fcf01d92cb3e631deacaa3178a86cb310758b8 (patch) | |
| tree | f6c494a77ad12d874fd3464fe53ccc94cedc568f /test | |
| parent | babb0d446a458ecbf5fae59e014d290d6a5924c6 (diff) | |
| download | ruby-d8fcf01d92cb3e631deacaa3178a86cb310758b8.tar.gz ruby-d8fcf01d92cb3e631deacaa3178a86cb310758b8.tar.xz ruby-d8fcf01d92cb3e631deacaa3178a86cb310758b8.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/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 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 |
