ruby-changes:34511
From: usa <ko1@a...>
Date: Sat, 28 Jun 2014 09:26:14 +0900 (JST)
Subject: [ruby-changes:34511] usa:r46592 (ruby_2_0_0): * test/ruby/envutil.rb (assert_no_memory_leak): changed the threshold to avoid
usa 2014-06-28 09:26:08 +0900 (Sat, 28 Jun 2014) New Revision: 46592 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46592 Log: * test/ruby/envutil.rb (assert_no_memory_leak): changed the threshold to avoid false-positives on some CI. Modified files: branches/ruby_2_0_0/test/ruby/envutil.rb branches/ruby_2_0_0/version.h Index: ruby_2_0_0/version.h =================================================================== --- ruby_2_0_0/version.h (revision 46591) +++ ruby_2_0_0/version.h (revision 46592) @@ -1,10 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1 #define RUBY_VERSION "2.0.0" -#define RUBY_RELEASE_DATE "2014-06-27" -#define RUBY_PATCHLEVEL 509 +#define RUBY_RELEASE_DATE "2014-06-28" +#define RUBY_PATCHLEVEL 510 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 6 -#define RUBY_RELEASE_DAY 27 +#define RUBY_RELEASE_DAY 28 #include "ruby/version.h" Index: ruby_2_0_0/test/ruby/envutil.rb =================================================================== --- ruby_2_0_0/test/ruby/envutil.rb (revision 46591) +++ ruby_2_0_0/test/ruby/envutil.rb (revision 46592) @@ -340,7 +340,7 @@ eom https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/test/ruby/envutil.rb#L340 assert_warning(*args) {$VERBOSE = false; yield} end - def assert_no_memory_leak(args, prepare, code, message=nil, limit: 1.5, rss: false) + def assert_no_memory_leak(args, prepare, code, message=nil, limit: 1.52, rss: false) 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/