diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-10 01:02:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-10 01:02:55 +0000 |
commit | 14d10e054ff451f26b5e4ad658f8e44b2d0fa8dd (patch) | |
tree | ab865bf51689a9181d81564e2f2b24fdb152ce2e /test/socket | |
parent | f40379378a2d1c50c094dd0cf9b827382741f34e (diff) |
test_addrinfo.rb: relax memory usage criterion
* test/socket/test_addrinfo.rb (test_marshal_memory_leak): relax
the criterion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/socket')
-rw-r--r-- | test/socket/test_addrinfo.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/socket/test_addrinfo.rb b/test/socket/test_addrinfo.rb index 1416553c9b..b83118f5c7 100644 --- a/test/socket/test_addrinfo.rb +++ b/test/socket/test_addrinfo.rb @@ -470,13 +470,13 @@ class TestSocketAddrinfo < Test::Unit::TestCase def test_marshal_memory_leak bug11051 = '[ruby-dev:48923] [Bug #11051]' - assert_no_memory_leak(%w[-rsocket], <<-prep, <<-code, bug11051, rss: true, limit: 1.1) + assert_no_memory_leak(%w[-rsocket], <<-PREP, <<-CODE, bug11051, rss: true) d = Marshal.dump(Addrinfo.tcp("127.0.0.1", 80)) 1000.times {Marshal.load(d)} - prep + PREP GC.start 20_000.times {Marshal.load(d)} - code + CODE end if Socket.const_defined?("AF_INET6") && Socket::AF_INET6.is_a?(Integer) |