test: disable "fs in renderer process" test under ASan (#28509)

This commit is contained in:
Cheng Zhao 2021-04-07 01:15:45 +09:00 committed by GitHub
parent 0c2150a6fa
commit 641e9337f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,8 @@ describe('node feature', () => {
});
});
it('does not hang when using the fs module in the renderer process', async () => {
// Running child app under ASan might receive SIGKILL because of OOM.
ifit(!process.env.IS_ASAN)('does not hang when using the fs module in the renderer process', async () => {
const appPath = path.join(mainFixturesPath, 'apps', 'libuv-hang', 'main.js');
const appProcess = childProcess.spawn(process.execPath, [appPath], {
cwd: path.join(mainFixturesPath, 'apps', 'libuv-hang'),