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 authored and targos committed May 1, 2021
1 parent c7981da commit 058abbe
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

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 058abbe

Please sign in to comment.