Skip to content

Commit

Permalink
fix(integ): remove go extension activation. (aws#4207)
Browse files Browse the repository at this point in the history
Problem: v0.40.1 of go changes how the extension is activated and breaks the integ tests.

Solution: Remove go activation, it is not required for integ tests.
  • Loading branch information
hayemaxi authored Dec 28, 2023
1 parent e947fe4 commit 7e25a14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/testInteg/sam.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,9 @@ async function stopDebugger(logMsg: string | undefined): Promise<void> {
async function activateExtensions(): Promise<void> {
console.log('Activating extensions...')
await vscodeUtils.activateExtension(VSCODE_EXTENSION_ID.python, false)
await vscodeUtils.activateExtension(VSCODE_EXTENSION_ID.go, false)
// TODO: Must be reactivated when go tests are enabled above.
// Caveat: v0.40.1 of the go extension breaks this line (see changelog for this version)
// await vscodeUtils.activateExtension(VSCODE_EXTENSION_ID.go, false)
await vscodeUtils.activateExtension(VSCODE_EXTENSION_ID.java, false)
await vscodeUtils.activateExtension(VSCODE_EXTENSION_ID.javadebug, false)
console.log('Extensions activated')
Expand Down

0 comments on commit 7e25a14

Please sign in to comment.