Skip to content

Commit 213ae4f

Browse files
committed
test: skip test-vm-memleak in ASAN
ASAN increases memory usage, which in turn messes up the memory leak test. Skip the test on ASAN. PR-URL: #34289 Reviewed-By: Richard Lau <rlau@redhat.com>
1 parent 5020891 commit 213ae4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/pummel/test-vm-memleak.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@
2222
'use strict';
2323
// Flags: --max_old_space_size=32 --expose_gc
2424

25-
require('../common');
25+
const common = require('../common');
26+
27+
if (process.config.variables.asan) {
28+
common.skip('ASAN messes with memory measurements');
29+
}
30+
2631
const assert = require('assert');
2732
const vm = require('vm');
2833

0 commit comments

Comments
 (0)