1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/lib/envutil.rb (assert_no_memory_leak): change default value

of limit from 1.5 to 2.0. It is ad-hoc fix to solve test failure
  in travis-ci.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-06-04 17:21:24 +00:00
parent 63e1601049
commit 99ee18afcb
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Fri Jun 5 02:20:06 2015 Koichi Sasada <ko1@atdot.net>
* test/lib/envutil.rb (assert_no_memory_leak): change default value
of limit from 1.5 to 2.0. It is ad-hoc fix to solve test failure
in travis-ci.
Fri Jun 5 01:17:21 2015 Koichi Sasada <ko1@atdot.net>
* vm_insnhelper.c (vm_defined): no need to use cast.

View file

@ -464,7 +464,7 @@ eom
end
end #case RUBY_PLATFORM
def assert_no_memory_leak(args, prepare, code, message=nil, limit: 1.5, rss: false, **opt)
def assert_no_memory_leak(args, prepare, code, message=nil, limit: 2.0, rss: false, **opt)
require_relative 'memory_status'
token = "\e[7;1m#{$$.to_s}:#{Time.now.strftime('%s.%L')}:#{rand(0x10000).to_s(16)}:\e[m"
token_dump = token.dump