summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-04 17:21:24 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-04 17:21:24 +0000
commit99ee18afcb50e454f00ea1ea85c14a2387ed101c (patch)
tree220db8d4b5acbef0cb1ff8ec5c7717e66fe74dda /test/lib
parent63e1601049d084a6b1db7f2226ceed179dd21c09 (diff)
* 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
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/envutil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/envutil.rb b/test/lib/envutil.rb
index eb40272..8fdc307 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