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:
parent
29dc5a2f83
commit
80f89a3472
12 changed files with 42 additions and 76 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue