test: fix bad assumption in pummel/test-vm-memleak
authorBen Noordhuis <info@bnoordhuis.nl>
Sat, 10 Jan 2015 17:06:34 +0000 (18:06 +0100)
committerBen Noordhuis <info@bnoordhuis.nl>
Sat, 10 Jan 2015 22:45:49 +0000 (23:45 +0100)
commit7e648da834faa7b837806cd5e214582b0359a03a
tree94f53860decc4bf85bfc32c6087e7c9784111e39
parentb57e9a99739c634053daa04667674090c07e1938
test: fix bad assumption in pummel/test-vm-memleak

pummel/test-vm-memleak is an old test that assumes the fairly
aggressive heuristics that were common with the old collector.

The current garbage collector has a more laissez-faire attitude.
Put an upper limit on the size of the old space and update the
test's expectations.

PR-URL: https://github.com/iojs/io.js/pull/280
Reviewed-By: Bert Belder <bertbelder@gmail.com>
test/pummel/test-vm-memleak.js