test: disable some tests under ASan which might receive SIGKILL because of OOM (#28156)

* test: running child app under ASan might receive SIGKILL

* test: renderer process of webview might receive SIGKILL under ASan

* test: increase timeout for asan build
This commit is contained in:
Cheng Zhao 2021-03-17 06:02:47 +09:00 committed by GitHub
parent 29dc5a2f83
commit 80f89a3472
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 42 additions and 76 deletions

View file

@ -2,6 +2,7 @@ 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');
@ -30,7 +31,8 @@ const runFixtureAndEnsureCleanExit = (args: string[]) => {
});
};
describe('crash cases', () => {
// Running child app under ASan might receive SIGKILL because of OOM.
ifdescribe(!process.env.IS_ASAN)('crash cases', () => {
afterEach(() => {
for (const child of children) {
child.kill();