Skip to content

Commit d4f3967

Browse files
authored
Workaround test issue (#13930)
* Try different version of VS code in release * Change to make it use the actual variable * Use a real version
1 parent 83b8b23 commit d4f3967

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build/ci/templates/globals.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ variables:
1111
npm_config_cache: $(Pipeline.Workspace)/.npm
1212
vmImageMacOS: 'macOS-10.15'
1313
TS_NODE_FILES: true # Temporarily enabled to allow using types from vscode.proposed.d.ts from ts-node (for tests).
14+
VSC_PYTHON_CI_TEST_VSC_CHANNEL: '1.48.0' # Enforce this until https://github.com/microsoft/vscode-test/issues/73 is fixed

src/test/standardTest.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ const extensionDevelopmentPath = process.env.CODE_EXTENSIONS_PATH
1616
? process.env.CODE_EXTENSIONS_PATH
1717
: EXTENSION_ROOT_DIR_FOR_TESTS;
1818

19-
const channel = (process.env.VSC_PYTHON_CI_TEST_VSC_CHANNEL || '').toLowerCase().includes('insiders')
20-
? 'insiders'
21-
: 'stable';
19+
const channel = process.env.VSC_PYTHON_CI_TEST_VSC_CHANNEL || 'stable';
2220

2321
function start() {
2422
console.log('*'.repeat(100));

0 commit comments

Comments
 (0)