summaryrefslogtreecommitdiff
path: root/test/drb/ignore_test_drb.rb
diff options
context:
space:
mode:
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
+