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
|
@ -3,6 +3,7 @@ import * as url from 'url';
|
|||
import { BrowserWindow, session, ipcMain, app, WebContents } from 'electron/main';
|
||||
import { closeAllWindows } from './window-helpers';
|
||||
import { emittedOnce, emittedUntil } from './events-helpers';
|
||||
import { ifdescribe } from './spec-helpers';
|
||||
import { expect } from 'chai';
|
||||
|
||||
async function loadWebView (w: WebContents, attributes: Record<string, string>, openDevTools: boolean = false): Promise<void> {
|
||||
|
@ -25,7 +26,8 @@ async function loadWebView (w: WebContents, attributes: Record<string, string>,
|
|||
`);
|
||||
}
|
||||
|
||||
describe('<webview> tag', function () {
|
||||
// The render process of webview might receive SIGKILL because of OOM.
|
||||
ifdescribe(!process.env.IS_ASAN)('<webview> tag', function () {
|
||||
const fixtures = path.join(__dirname, '..', 'spec', 'fixtures');
|
||||
|
||||
afterEach(closeAllWindows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue