Skip to content

Commit

Permalink
test: skip test-vm-memleak in ASAN
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott committed Apr 10, 2021
1 parent 5020891 commit 213ae4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/pummel/test-vm-memleak.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 213ae4f

Please sign in to comment.