Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase timeouts of flaky tests #3888

Merged
merged 1 commit into from
May 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)
})
})