mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
added timeout into testcase for low performance environment. [Bug #9984][ruby-core:63367] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
93a7bf4b17
commit
51ee0a634e
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Wed Sep 3 11:33:08 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
|
||||
added timeout into testcase for low performance environment.
|
||||
[Bug #9984][ruby-core:63367]
|
||||
|
||||
Wed Sep 3 07:50:15 2014 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* configure.in: Use AC_FUNC_FORK.
|
||||
|
|
|
@ -77,7 +77,7 @@ class OpenSSL::TestPKeyRSA < Test::Unit::TestCase
|
|||
|
||||
def test_sign_verify_memory_leak
|
||||
bug9743 = '[ruby-core:62038] [Bug #9743]'
|
||||
assert_no_memory_leak(%w[-ropenssl], <<-PREP, <<-CODE, bug9743, rss: true)
|
||||
assert_no_memory_leak(%w[-ropenssl], <<-PREP, <<-CODE, bug9743, rss: true, timeout: 30)
|
||||
data = 'Sign me!'
|
||||
digest = OpenSSL::Digest::SHA512.new
|
||||
pkey = OpenSSL::PKey::RSA.new(2048)
|
||||
|
@ -89,7 +89,7 @@ class OpenSSL::TestPKeyRSA < Test::Unit::TestCase
|
|||
}
|
||||
CODE
|
||||
|
||||
assert_no_memory_leak(%w[-ropenssl], <<-PREP, <<-CODE, bug9743, rss: true)
|
||||
assert_no_memory_leak(%w[-ropenssl], <<-PREP, <<-CODE, bug9743, rss: true, timeout: 30)
|
||||
data = 'Sign me!'
|
||||
digest = OpenSSL::Digest::SHA512.new
|
||||
pkey = OpenSSL::PKey::RSA.new(2048)
|
||||
|
|
Loading…
Reference in a new issue