From 2d899e7baa125a2984693bc1b6537baf0ed36b76 Mon Sep 17 00:00:00 2001 From: Tim Fish Date: Sat, 5 Aug 2023 15:47:51 +0200 Subject: [PATCH] Extend timeouts to get windows tests passing --- .../sessions/abnormal-exit-electron-uploader/src/main.js | 4 ++-- test/e2e/test-apps/sessions/abnormal-exit/src/main.js | 4 ++-- .../sessions/native-crash-main-electron-uploader/src/main.js | 2 +- test/e2e/test-apps/sessions/native-crash-main/src/main.js | 4 ++-- 4 files changed, 7 insertions(+), 7 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 f3ba2626..9fd8293d 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,9 +34,9 @@ app.on('ready', () => { if (process.env.APP_FIRST_RUN) { setTimeout(() => { process.exit(); - }, 1000); + }, 2000); } else { setTimeout(() => { app.quit(); - }, 2000); + }, 4000); } 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 5584ee72..ef301ad0 100644 --- a/test/e2e/test-apps/sessions/abnormal-exit/src/main.js +++ b/test/e2e/test-apps/sessions/abnormal-exit/src/main.js @@ -27,9 +27,9 @@ app.on('ready', () => { if (process.env.APP_FIRST_RUN) { setTimeout(() => { process.exit(); - }, 1000); + }, 2000); } else { setTimeout(() => { app.quit(); - }, 2000); + }, 4000); } diff --git a/test/e2e/test-apps/sessions/native-crash-main-electron-uploader/src/main.js b/test/e2e/test-apps/sessions/native-crash-main-electron-uploader/src/main.js index 055aaa60..0b7294b6 100644 --- a/test/e2e/test-apps/sessions/native-crash-main-electron-uploader/src/main.js +++ b/test/e2e/test-apps/sessions/native-crash-main-electron-uploader/src/main.js @@ -37,4 +37,4 @@ setTimeout(() => { } else { app.quit(); } -}, 2000); +}, 4000); diff --git a/test/e2e/test-apps/sessions/native-crash-main/src/main.js b/test/e2e/test-apps/sessions/native-crash-main/src/main.js index 489e9c85..fd7415dc 100644 --- a/test/e2e/test-apps/sessions/native-crash-main/src/main.js +++ b/test/e2e/test-apps/sessions/native-crash-main/src/main.js @@ -27,9 +27,9 @@ app.on('ready', () => { if (process.env.APP_FIRST_RUN) { setTimeout(() => { process.crash(); - }, 1000); + }, 2000); } else { setTimeout(() => { app.quit(); - }, 2000); + }, 4000); }