зеркало из https://github.com/github/ruby.git
test_thread.rb: skip test_thread.rb broken for Windows
msys2. https://ci.appveyor.com/project/ruby/ruby/builds/20419607/job/fuvrfcmrhxr1r1cr https://ci.appveyor.com/project/ruby/ruby/builds/20395349/job/2nqewb06b5eanwea https://ci.appveyor.com/project/ruby/ruby/builds/20382452/job/658pvl1cqolyrixm git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
d7d0ee1065
Коммит
5187ea768f
|
@ -37,3 +37,11 @@ assert_normal_exit %q{
|
|||
r.instance_eval { initialize r, r }
|
||||
r.inspect
|
||||
}
|
||||
|
||||
# This test randomly fails on AppVeyor msys2 with:
|
||||
# test_thread.rb: A non-blocking socket operation could not be completed immediately. - read would block
|
||||
assert_finish 3, %{
|
||||
th = Thread.new {sleep 0.2}
|
||||
th.join(0.1)
|
||||
th.join
|
||||
}
|
||||
|
|
|
@ -248,12 +248,6 @@ assert_equal 'ok', %{
|
|||
$result
|
||||
}
|
||||
|
||||
assert_finish 3, %{
|
||||
th = Thread.new {sleep 0.2}
|
||||
th.join(0.1)
|
||||
th.join
|
||||
}
|
||||
|
||||
assert_finish 3, %{
|
||||
require 'timeout'
|
||||
th = Thread.new {sleep 0.2}
|
||||
|
|
Загрузка…
Ссылка в новой задаче