diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-13 16:18:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-13 16:18:30 +0000 |
commit | 03787200af3cf3a7b4bbad6e90b7466edf26a0b8 (patch) | |
tree | 3c3ea87d951f9b2efb053c27cc25af221eec1441 /test/dl | |
parent | 8851056bc85e978de74dab8da1ae1b8d51ff7118 (diff) |
test/dl, test/fiddle: relax criteria
* test/dl/test_{cptr,handle}.rb, test/fiddle/test_{handle,pointer}.rb:
relax memory leak criteria.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
-rw-r--r-- | test/dl/test_cptr.rb | 2 | ||||
-rw-r--r-- | test/dl/test_handle.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dl/test_cptr.rb b/test/dl/test_cptr.rb index a5b37dbb61..aa74a73fe5 100644 --- a/test/dl/test_cptr.rb +++ b/test/dl/test_cptr.rb @@ -221,6 +221,6 @@ module DL end def test_no_memory_leak - assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::CPtr.allocate}', limit: 1.2, rss: true) + assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::CPtr.allocate}', rss: true) end end diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb index 43fdd4a6d0..6a8964e9a0 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, rss: true) + assert_no_memory_leak(%w[-W0 -rdl.so], '', '100_000.times {DL::Handle.allocate}; GC.start', rss: true) end end |