From c32917284af400147ebae5cb42990e5314b9cee9 Mon Sep 17 00:00:00 2001 From: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com> Date: Tue, 14 Dec 2021 12:13:06 -0600 Subject: [PATCH] Increase SystemTrayService test timeout to help CI reliability --- ts/test-node/app/SystemTrayService_test.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ts/test-node/app/SystemTrayService_test.ts b/ts/test-node/app/SystemTrayService_test.ts index 616080446a..2864f30c94 100644 --- a/ts/test-node/app/SystemTrayService_test.ts +++ b/ts/test-node/app/SystemTrayService_test.ts @@ -6,10 +6,14 @@ import * as sinon from 'sinon'; import type { MenuItem } from 'electron'; import { BrowserWindow, Tray, nativeImage } from 'electron'; import * as path from 'path'; +import { MINUTE } from '../../util/durations'; import { SystemTrayService } from '../../../app/SystemTrayService'; -describe('SystemTrayService', () => { +describe('SystemTrayService', function thisNeeded() { + // These tests take more time on CI in some cases, so we increase the timeout. + this.timeout(MINUTE); + let sandbox: sinon.SinonSandbox; /**