mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add timeout
it breaks armv7 CI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
119068f90c
commit
df58e74e02
1 changed files with 8 additions and 6 deletions
|
@ -206,6 +206,7 @@ module DRbCore
|
|||
end
|
||||
|
||||
def test_06_timeout
|
||||
Timeout.timeout(60) do
|
||||
ten = Onecky.new(10)
|
||||
assert_raise(Timeout::Error) do
|
||||
@there.do_timeout(ten)
|
||||
|
@ -214,6 +215,7 @@ module DRbCore
|
|||
@there.do_timeout(ten)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def test_07_private_missing
|
||||
e = assert_raise(NoMethodError) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue