From e26aebfeb4431d7228afe20328733d3256f34c9c Mon Sep 17 00:00:00 2001 From: Matt Seddon Date: Mon, 15 May 2023 16:37:04 +1000 Subject: [PATCH] Increase timeouts of flaky test --- extension/src/test/suite/experiments/data/index.test.ts | 4 ++-- extension/src/test/suite/setup/index.test.ts | 2 +- extension/src/test/suite/vscode/recommend.test.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extension/src/test/suite/experiments/data/index.test.ts b/extension/src/test/suite/experiments/data/index.test.ts index 825241e520..5db5da0288 100644 --- a/extension/src/test/suite/experiments/data/index.test.ts +++ b/extension/src/test/suite/experiments/data/index.test.ts @@ -114,7 +114,7 @@ suite('Experiments Data Test Suite', () => { await dataUpdatedEvent expect(managedUpdateSpy).to.be.called - }) + }).timeout(10000) it('should watch the .git directory for updates when the directory is inside workspace', async () => { const mockNow = getMockNow() @@ -173,6 +173,6 @@ suite('Experiments Data Test Suite', () => { await dataUpdatedEvent expect(managedUpdateSpy).to.be.called - }) + }).timeout(10000) }) }) diff --git a/extension/src/test/suite/setup/index.test.ts b/extension/src/test/suite/setup/index.test.ts index df1692577f..40ef0d989b 100644 --- a/extension/src/test/suite/setup/index.test.ts +++ b/extension/src/test/suite/setup/index.test.ts @@ -447,7 +447,7 @@ suite('Setup Test Suite', () => { 'should called setup when DVC is installed into a virtual environment' ).to.be.called expect(workspaceChangedCount).to.equal(3) - }) + }).timeout(10000) it('should be able to select focused projects', async () => { const mockFocusedProjects = [dvcDemoPath] diff --git a/extension/src/test/suite/vscode/recommend.test.ts b/extension/src/test/suite/vscode/recommend.test.ts index 1426359985..d7ef39f4f3 100644 --- a/extension/src/test/suite/vscode/recommend.test.ts +++ b/extension/src/test/suite/vscode/recommend.test.ts @@ -51,6 +51,6 @@ suite('Recommend Test Suite', () => { mockShowInformationMessage, 'should not recommend to install the red hat yaml extension on subsequent calls' ).not.to.be.called - }).timeout(6000) + }).timeout(10000) }) })