Browse Source

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

Cheng Zhao 4 years ago
parent
commit
641e9337f3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      spec-main/node-spec.ts

+ 2 - 1
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'),