Skip to content

Commit

Permalink
fix(ci): Increase test timeout for uninstall test (#6038)
Browse files Browse the repository at this point in the history
The uninstall test could sometimes timeout in CI as it was quite heavy.
This increases the timeout for that test to 1 minute.

## Test plan
Update to E2E test
  • Loading branch information
jamesmcnamara authored Oct 31, 2024
1 parent b83fdd4 commit dd821c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vscode/test/e2e/uninstall.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { expectAuthenticated, focusSidebar, sidebarSignin } from './common'
import { expect, getCodySidebar, test } from './helpers'

test('uninstall extension', async ({ openVSCode }) => {
// This test is quite heavy so it can timeout in CI unless we grant it a longer timeout
test.setTimeout(60 * 1000)
// In order to trigger the uninstall event, we need to actually install the extension
// into the local vscode instance
const customExtensionVSIX = path.join(process.cwd(), 'dist', 'cody.e2e.vsix')
Expand Down

0 comments on commit dd821c7

Please sign in to comment.