зеркало из https://github.com/github/ruby.git
* test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
shouldn't use same server for respective tests, because the 1st test sometimes kills the server main loop silently. [Bug #9881] [ruby-dev:48266] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
25e8bfce58
Коммит
5d9eae4abb
|
@ -1,3 +1,10 @@
|
||||||
|
Tue Jun 3 09:45:13 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
|
||||||
|
shouldn't use same server for respective tests, because the 1st
|
||||||
|
test sometimes kills the server main loop silently.
|
||||||
|
[Bug #9881] [ruby-dev:48266]
|
||||||
|
|
||||||
Tue Jun 3 01:34:59 2014 Zachary Scott <e@zzak.io>
|
Tue Jun 3 01:34:59 2014 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* README.EXT: [DOC] Add rb_call_super when subclassing from @robin850
|
* README.EXT: [DOC] Add rb_call_super when subclassing from @robin850
|
||||||
|
|
|
@ -251,7 +251,9 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
|
||||||
ensure
|
ensure
|
||||||
ssl.close
|
ssl.close
|
||||||
end
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
start_server(PORT, OpenSSL::SSL::VERIFY_NONE, true){|server, port|
|
||||||
sock = TCPSocket.new("127.0.0.1", port)
|
sock = TCPSocket.new("127.0.0.1", port)
|
||||||
ctx = OpenSSL::SSL::SSLContext.new
|
ctx = OpenSSL::SSL::SSLContext.new
|
||||||
ctx.set_params(
|
ctx.set_params(
|
||||||
|
@ -268,7 +270,9 @@ class OpenSSL::TestSSL < OpenSSL::SSLTestCase
|
||||||
ensure
|
ensure
|
||||||
ssl.close
|
ssl.close
|
||||||
end
|
end
|
||||||
|
}
|
||||||
|
|
||||||
|
start_server(PORT, OpenSSL::SSL::VERIFY_NONE, true){|server, port|
|
||||||
sock = TCPSocket.new("127.0.0.1", port)
|
sock = TCPSocket.new("127.0.0.1", port)
|
||||||
ctx = OpenSSL::SSL::SSLContext.new
|
ctx = OpenSSL::SSL::SSLContext.new
|
||||||
ctx.set_params(
|
ctx.set_params(
|
||||||
|
|
Загрузка…
Ссылка в новой задаче