From bb5d05f66365e0d3bb31c4524abf26d73b493c3b Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Fri, 29 Sep 2023 15:58:09 +0200 Subject: [PATCH] fix: Flakey session e2e test on Windows (#757) --- .../sessions/abnormal-exit-electron-uploader/src/main.js | 2 +- test/e2e/test-apps/sessions/abnormal-exit/src/main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/test-apps/sessions/abnormal-exit-electron-uploader/src/main.js b/test/e2e/test-apps/sessions/abnormal-exit-electron-uploader/src/main.js index 9fd8293d..d4596d9a 100644 --- a/test/e2e/test-apps/sessions/abnormal-exit-electron-uploader/src/main.js +++ b/test/e2e/test-apps/sessions/abnormal-exit-electron-uploader/src/main.js @@ -34,7 +34,7 @@ app.on('ready', () => { if (process.env.APP_FIRST_RUN) { setTimeout(() => { process.exit(); - }, 2000); + }, 4000); } else { setTimeout(() => { app.quit(); diff --git a/test/e2e/test-apps/sessions/abnormal-exit/src/main.js b/test/e2e/test-apps/sessions/abnormal-exit/src/main.js index ef301ad0..65ada825 100644 --- a/test/e2e/test-apps/sessions/abnormal-exit/src/main.js +++ b/test/e2e/test-apps/sessions/abnormal-exit/src/main.js @@ -27,7 +27,7 @@ app.on('ready', () => { if (process.env.APP_FIRST_RUN) { setTimeout(() => { process.exit(); - }, 2000); + }, 4000); } else { setTimeout(() => { app.quit();