summaryrefslogtreecommitdiff
path: root/test/drb/test_drbunix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/drb/test_drbunix.rb')
-rw-r--r--test/drb/test_drbunix.rb15
1 files changed, 2 insertions, 13 deletions
diff --git a/test/drb/test_drbunix.rb b/test/drb/test_drbunix.rb
index eeaa9c93ef..e1a17edd3d 100644
--- a/test/drb/test_drbunix.rb
+++ b/test/drb/test_drbunix.rb
@@ -20,7 +20,7 @@ end
class TestDRbUNIXCore < Test::Unit::TestCase
include DRbCore
def setup
- @ext = DRbUNIXService.manager.service('ut_drb_drbunix.rb')
+ @ext = DRbUNIXService.ext_service('ut_drb_drbunix.rb')
@there = @ext.front
end
@@ -32,23 +32,12 @@ class TestDRbUNIXCore < Test::Unit::TestCase
def test_05_eq
end
-
- def test_06_timeout
- ten = Onecky.new(3)
- assert_raises(TimeoutError) do
- @there.do_timeout(ten)
- end
- assert_raises(TimeoutError) do
- @there.do_timeout(ten)
- end
- sleep 3
- end
end
class TestDRbUNIXAry < Test::Unit::TestCase
include DRbAry
def setup
- @ext = DRbUNIXService.manager.service('ut_array_drbunix.rb')
+ @ext = DRbUNIXService.ext_service('ut_array_drbunix.rb')
@there = @ext.front
end
end