summaryrefslogtreecommitdiff
path: root/test/pummel
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2020-07-26 22:53:53 -0700
committerRich Trott <rtrott@gmail.com>2020-07-30 12:54:07 -0700
commit2d2a812645db794698abec602a10366e41305b98 (patch)
treea4aa313cd489eada4b2abe0def90b150a076b7a8 /test/pummel
parent2c4f30deea107bf42df4de1d3e7373d52d0d35f5 (diff)
downloadnode-new-2d2a812645db794698abec602a10366e41305b98.tar.gz
test: remove unneeded flag check in test-vm-memleak
The `common` module checks that necessary flags are being used, so a check in the test itself is no longer necessary. PR-URL: https://github.com/nodejs/node/pull/34528 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test/pummel')
-rw-r--r--test/pummel/test-vm-memleak.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/pummel/test-vm-memleak.js b/test/pummel/test-vm-memleak.js
index 94e4055a76..33f2f3d759 100644
--- a/test/pummel/test-vm-memleak.js
+++ b/test/pummel/test-vm-memleak.js
@@ -29,11 +29,6 @@ const vm = require('vm');
const start = Date.now();
let maxMem = 0;
-const ok = process.execArgv.some(function(arg) {
- return arg === '--max_old_space_size=32';
-});
-assert(ok, 'Run this test with --max_old_space_size=32.');
-
const interval = setInterval(function() {
try {
vm.runInNewContext('throw 1;');