Skip to content

Commit

Permalink
Increase timeouts of flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed May 15, 2023
1 parent ea4690f commit 76f166e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extension/src/test/suite/experiments/data/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -173,6 +173,6 @@ suite('Experiments Data Test Suite', () => {
await dataUpdatedEvent

expect(managedUpdateSpy).to.be.called
})
}).timeout(10000)
})
})
2 changes: 1 addition & 1 deletion extension/src/test/suite/setup/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion extension/src/test/suite/vscode/recommend.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})

0 comments on commit 76f166e

Please sign in to comment.