diff --git a/spec/api-autoupdater-darwin-spec.ts b/spec/api-autoupdater-darwin-spec.ts index a85e101040..510952eed0 100644 --- a/spec/api-autoupdater-darwin-spec.ts +++ b/spec/api-autoupdater-darwin-spec.ts @@ -350,7 +350,8 @@ ifdescribe(shouldRunCodesignTests)('autoUpdater behavior', function () { }); }); - it('should hit the download endpoint when an update is available and update successfully when the zip is provided even after a different update was staged', async () => { + it('should hit the download endpoint when an update is available and update successfully when the zip is provided even after a different update was staged', async function () { + this.timeout(180000); await withUpdatableApp({ nextVersion: '2.0.0', startFixture: 'update-stack', @@ -478,7 +479,8 @@ ifdescribe(shouldRunCodesignTests)('autoUpdater behavior', function () { }); }); - it('should keep the update directory count bounded across repeated checks', async () => { + it('should keep the update directory count bounded across repeated checks', async function () { + this.timeout(240000); // Verifies the orphan prune actually fires: after a second download // completes and rewrites ShipItState.plist, the first directory is no // longer referenced and must be removed when a third check begins. diff --git a/spec/fixtures/auto-update/update-triple-stack/index.js b/spec/fixtures/auto-update/update-triple-stack/index.js index ad6a08aa18..d57b673252 100644 --- a/spec/fixtures/auto-update/update-triple-stack/index.js +++ b/spec/fixtures/auto-update/update-triple-stack/index.js @@ -46,7 +46,7 @@ if (feedUrl === 'remain-open') { } else { setTimeout(() => { autoUpdater.checkForUpdates(); - }, 1000); + }, 5000); } });