summaryrefslogtreecommitdiff
path: root/test/drb/ignore_test_drb.rb
diff options
context:
space:
mode:
authorseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-03 02:07:37 +0000
committerseki <seki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-01-03 02:07:37 +0000
commit5ef141e3e93376827be8af1762973a846e6623ca (patch)
treea559ab87b5e1c997c858b196ae9df2644f6a56de /test/drb/ignore_test_drb.rb
parent239d44a19c2758339a356bc07a411fdbfdd07974 (diff)
move TestDRbReusePort to new file [ruby-dev:25238]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb/ignore_test_drb.rb')
-rw-r--r--test/drb/ignore_test_drb.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/drb/ignore_test_drb.rb b/test/drb/ignore_test_drb.rb
new file mode 100644
index 00000000000..d0bb1f49b02
--- /dev/null
+++ b/test/drb/ignore_test_drb.rb
@@ -0,0 +1,24 @@
+require 'drbtest'
+
+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
+ end
+end
+