ruby-changes:35280
From: hsbt <ko1@a...>
Date: Wed, 3 Sep 2014 11:33:36 +0900 (JST)
Subject: [ruby-changes:35280] hsbt:r47362 (trunk): * test/openssl/test_pkey_rsa.rb (OpenSSL#test_sign_verify_memory_leak):
hsbt 2014-09-03 11:33:18 +0900 (Wed, 03 Sep 2014) New Revision: 47362 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47362 Log: * 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] Modified files: trunk/ChangeLog trunk/test/openssl/test_pkey_rsa.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 47361) +++ ChangeLog (revision 47362) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Sep 3 11:33:08 2014 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * 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@f...> * configure.in: Use AC_FUNC_FORK. Index: test/openssl/test_pkey_rsa.rb =================================================================== --- test/openssl/test_pkey_rsa.rb (revision 47361) +++ test/openssl/test_pkey_rsa.rb (revision 47362) @@ -77,7 +77,7 @@ class OpenSSL::TestPKeyRSA < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/openssl/test_pkey_rsa.rb#L77 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: https://github.com/ruby/ruby/blob/trunk/test/openssl/test_pkey_rsa.rb#L89 } 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/