diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-11 05:16:04 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-11 05:16:04 +0000 |
commit | dc5272565515df919e57ad8a9bcb58fdac4c553b (patch) | |
tree | b6c3cd933729a912384b83ee0fa54123dfae4926 /test/dl/test_handle.rb | |
parent | 5543a55b5261bf1c72b9bc356c2f84b14e4e6231 (diff) |
envutil.rb: do not check RSS by default
* test/ruby/envutil.rb (Test::Test#assert_no_memory_leak): do not
check RSS by default, enabled by rss optional keyword argument.
TestHash#test_exception_in_rehash sometimes fails otherwise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl/test_handle.rb')
-rw-r--r-- | test/dl/test_handle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb index fc5053a87e..43fdd4a6d0 100644 --- a/test/dl/test_handle.rb +++ b/test/dl/test_handle.rb @@ -186,6 +186,6 @@ module DL end def test_no_memory_leak - assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::Handle.allocate}; GC.start', limit: 1.2) + assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::Handle.allocate}; GC.start', limit: 1.2, rss: true) end end |