ruby-changes:32540
From: nobu <ko1@a...>
Date: Wed, 15 Jan 2014 23:36:57 +0900 (JST)
Subject: [ruby-changes:32540] nobu:r44619 (trunk): test_gc.rb: relax assertion
nobu 2014-01-15 23:36:51 +0900 (Wed, 15 Jan 2014) New Revision: 44619 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44619 Log: test_gc.rb: relax assertion * test/ruby/test_gc.rb (test_profiler_total_time): GC time may be shorter than the timer resolution. Modified files: trunk/test/ruby/test_gc.rb Index: test/ruby/test_gc.rb =================================================================== --- test/ruby/test_gc.rb (revision 44618) +++ test/ruby/test_gc.rb (revision 44619) @@ -234,7 +234,7 @@ class TestGc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_gc.rb#L234 GC::Profiler.clear GC.start - assert_operator(GC::Profiler.total_time, :>, 0) + assert_operator(GC::Profiler.total_time, :>=, 0) ensure GC::Profiler.disable end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/