diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-15 14:36:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-15 14:36:51 +0000 |
commit | c804e6217cef9fbfb71c2e0d5785d295360478f9 (patch) | |
tree | 364ffea249a0944ef38a1fa0b433fcf6c44c122e | |
parent | bddde8eee32d1926ce6202f2697b78d0cda737f4 (diff) | |
download | ruby-c804e6217cef9fbfb71c2e0d5785d295360478f9.tar.gz |
test_gc.rb: relax assertion
* test/ruby/test_gc.rb (test_profiler_total_time): GC time may be
shorter than the timer resolution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/ruby/test_gc.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb index 0dd002ddc0..83619c413e 100644 --- a/test/ruby/test_gc.rb +++ b/test/ruby/test_gc.rb @@ -234,7 +234,7 @@ class TestGc < Test::Unit::TestCase GC::Profiler.clear GC.start - assert_operator(GC::Profiler.total_time, :>, 0) + assert_operator(GC::Profiler.total_time, :>=, 0) ensure GC::Profiler.disable end |