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 | 421ddafb6532cac4adbcc3fcde04a020e57066ec (patch) | |
| tree | 06ef58359bc3e6bb400794f5cafbfc84a5e92a90 /test/drb | |
| parent | 9395191d03a5a4c371339f223cc53836154404c5 (diff) | |
| download | ruby-421ddafb6532cac4adbcc3fcde04a020e57066ec.tar.gz ruby-421ddafb6532cac4adbcc3fcde04a020e57066ec.tar.xz ruby-421ddafb6532cac4adbcc3fcde04a020e57066ec.zip | |
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: http://svn.ruby-lang.org/repos/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 000000000..d0bb1f49b --- /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 + |
