Skip to content

Commit

Permalink
test: remove unneeded flag check in test-vm-memleak
Browse files Browse the repository at this point in the history
The `common` module checks that necessary flags are being used, so a
check in the test itself is no longer necessary.

PR-URL: #34528
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
Trott authored and addaleax committed Sep 22, 2020
1 parent 343894f commit 09a6cef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/pummel/test-vm-memleak.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;');
Expand Down

0 comments on commit 09a6cef

Please sign in to comment.