Skip to content

Commit 1af988f

Browse files
authored
Do not sync the runtime extension when installing it for integration tests.
1 parent 006c407 commit 1af988f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integrationTests/integrationHelpers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ export async function activateCSharpExtension(): Promise<void> {
1616
const dotnetRuntimeExtension =
1717
vscode.extensions.getExtension<CSharpExtensionExports>(vscodeDotnetRuntimeExtensionId);
1818
if (!dotnetRuntimeExtension) {
19-
await vscode.commands.executeCommand('workbench.extensions.installExtension', vscodeDotnetRuntimeExtensionId);
19+
await vscode.commands.executeCommand('workbench.extensions.installExtension', vscodeDotnetRuntimeExtensionId, {
20+
donotSync: true,
21+
});
2022
await vscode.commands.executeCommand('workbench.action.reloadWindow');
2123
}
2224

0 commit comments

Comments
 (0)