build: give ASAN tests more memory to avoid SIGKILL or disabling tests (#28567)

* build: give ASAN tests more memory

* test: re-eanble asan tests

Co-authored-by: Cheng Zhao <zcbenz@gmail.com>
This commit is contained in:
Samuel Attard 2021-04-09 00:09:17 -07:00 committed by GitHub
parent f73d09374e
commit 17f527f757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 18 additions and 36 deletions

View file

@ -2,7 +2,6 @@ import { expect } from 'chai';
import * as cp from 'child_process';
import * as fs from 'fs';
import * as path from 'path';
import { ifdescribe } from './spec-helpers';
const fixturePath = path.resolve(__dirname, 'fixtures', 'crash-cases');
@ -31,8 +30,7 @@ const runFixtureAndEnsureCleanExit = (args: string[]) => {
});
};
// Running child app under ASan might receive SIGKILL because of OOM.
ifdescribe(!process.env.IS_ASAN)('crash cases', () => {
describe('crash cases', () => {
afterEach(() => {
for (const child of children) {
child.kill();