From 641e9337f39fb47aec466953a41fbe04313d275e Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 7 Apr 2021 01:15:45 +0900 Subject: [PATCH] test: disable "fs in renderer process" test under ASan (#28509) --- spec-main/node-spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec-main/node-spec.ts b/spec-main/node-spec.ts index 45396fdd3183..3f212e154c72 100644 --- a/spec-main/node-spec.ts +++ b/spec-main/node-spec.ts @@ -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'),