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 danielleadams committed May 8, 2021
1 parent e9d8815 commit cd2e6b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/pummel/test-vm-memleak.js
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 cd2e6b2

Please sign in to comment.