mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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: https://github.com/nodejs/node/pull/34289 Reviewed-By: Richard Lau <rlau@redhat.com>
This commit is contained in:
parent
50208915a0
commit
213ae4f4c6
@ -22,7 +22,12 @@
|
||||
'use strict';
|
||||
// Flags: --max_old_space_size=32 --expose_gc
|
||||
|
||||
require('../common');
|
||||
const common = require('../common');
|
||||
|
||||
if (process.config.variables.asan) {
|
||||
common.skip('ASAN messes with memory measurements');
|
||||
}
|
||||
|
||||
const assert = require('assert');
|
||||
const vm = require('vm');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user