aboutsummaryrefslogtreecommitdiffstats
path: root/test/drb/ignore_test_drb.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 07:47:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-19 07:47:38 +0000
commitb0f623f5f418fed481c3634b6a3d1a0f508c888d (patch)
tree8b6bc44fce4c5a00859358aba9e630088a552e16 /test/drb/ignore_test_drb.rb
parent226fcd5814a2aea4ee5de9abcf2db972684e9d5e (diff)
downloadruby-b0f623f5f418fed481c3634b6a3d1a0f508c888d.tar.gz
drbtest.rb: DRbBase
* test/drb/drbtest.rb (DRbBase): extract from DRbCore and DRbAry for setup_service and teardown. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/ignore_test_drb.rb')
-rw-r--r--test/drb/ignore_test_drb.rb16
1 files changed, 1 insertions, 15 deletions
diff --git a/test/drb/ignore_test_drb.rb b/test/drb/ignore_test_drb.rb
index d0bb1f49b0..217c1c3f6b 100644
--- a/test/drb/ignore_test_drb.rb
+++ b/test/drb/ignore_test_drb.rb
@@ -4,21 +4,7 @@ class TestDRbReusePort < Test::Unit::TestCase
include DRbAry
def setup
- @ext = DRbService.ext_service('ut_port.rb')
- @there = @ext.front
- end
-
- def teardown
- return unless @ext
- @ext.stop_service
- while true
- sleep 0.1
- begin
- @ext.alive?
- rescue DRb::DRbConnError
- break
- end
- end
+ setup_service 'ut_port.rb'
end
end