Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 09a6cef

Browse filesBrowse files
Trottaddaleax
authored andcommitted
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 <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 343894f commit 09a6cef
Copy full SHA for 09a6cef

File tree

Expand file treeCollapse file tree

1 file changed

+0
-5
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-5
lines changed
Open diff view settings
Collapse file

‎test/pummel/test-vm-memleak.js‎

Copy file name to clipboardExpand all lines: test/pummel/test-vm-memleak.js
-5Lines changed: 0 additions & 5 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.