test: run tests under asan on linux-x64 (#23570)
This commit is contained in:
parent
b181dae146
commit
7f8e34fa3f
5 changed files with 112 additions and 50 deletions
|
@ -209,7 +209,8 @@ describe('app module', () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe('app.requestSingleInstanceLock', () => {
|
||||
// TODO(jeremy): figure out why these tests time out under ASan
|
||||
ifdescribe(!process.env.IS_ASAN)('app.requestSingleInstanceLock', () => {
|
||||
it('prevents the second launch of app', async function () {
|
||||
this.timeout(120000);
|
||||
const appPath = path.join(fixturesPath, 'api', 'singleton');
|
||||
|
@ -1454,7 +1455,8 @@ describe('app module', () => {
|
|||
});
|
||||
|
||||
describe('when app.enableSandbox() is called', () => {
|
||||
it('adds --enable-sandbox to all renderer processes', done => {
|
||||
// TODO(jeremy): figure out why this times out under ASan
|
||||
ifit(!process.env.IS_ASAN)('adds --enable-sandbox to all renderer processes', done => {
|
||||
const appPath = path.join(fixturesPath, 'api', 'mixed-sandbox-app');
|
||||
appProcess = cp.spawn(process.execPath, [appPath, '--app-enable-sandbox']);
|
||||
|
||||
|
@ -1479,7 +1481,8 @@ describe('app module', () => {
|
|||
});
|
||||
|
||||
describe('when the app is launched with --enable-sandbox', () => {
|
||||
it('adds --enable-sandbox to all renderer processes', done => {
|
||||
// TODO(jeremy): figure out why this times out under ASan
|
||||
ifit(!process.env.IS_ASAN)('adds --enable-sandbox to all renderer processes', done => {
|
||||
const appPath = path.join(fixturesPath, 'api', 'mixed-sandbox-app');
|
||||
appProcess = cp.spawn(process.execPath, [appPath, '--enable-sandbox']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue