Skip to content

Commit 2d2a812

Browse files
committed
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: #34528 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 2c4f30d commit 2d2a812

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/pummel/test-vm-memleak.js

-5
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ const vm = require('vm');
2929
const start = Date.now();
3030
let maxMem = 0;
3131

32-
const ok = process.execArgv.some(function(arg) {
33-
return arg === '--max_old_space_size=32';
34-
});
35-
assert(ok, 'Run this test with --max_old_space_size=32.');
36-
3732
const interval = setInterval(function() {
3833
try {
3934
vm.runInNewContext('throw 1;');

0 commit comments

Comments
 (0)