From 99ee18afcb50e454f00ea1ea85c14a2387ed101c Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 4 Jun 2015 17:21:24 +0000 Subject: * 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 --- test/lib/envutil.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/lib') diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb index eb40272232..8fdc30772e 100644 --- a/test/lib/envutil.rb +++ b/test/lib/envutil.rb @@ -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 -- cgit v1.2.3