diff options
author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-04 17:38:41 +0000 |
---|---|---|
committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-04 17:38:41 +0000 |
commit | 6758fabef3e42b9827e426caeb48012142e789e0 (patch) | |
tree | 06ef58359bc3e6bb400794f5cafbfc84a5e92a90 /test/drb | |
parent | 0ce3a808c2a5228e4ca930fac70c2559de7bd015 (diff) |
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/drb')
-rw-r--r-- | test/drb/ignore_test_drb.rb | 24 |
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 0000000000..d0bb1f49b0 --- /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 + |