Skip to content

Commit e491ffd

Browse files
committed
More tests failing with gpu error (#13935)
* Try different version of VS code in release * Change to make it use the actual variable * Use a real version * Two more version changes
1 parent 5ee1209 commit e491ffd

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/test/debuggerTest.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { EXTENSION_ROOT_DIR_FOR_TESTS } from './constants';
1010
const workspacePath = path.join(__dirname, '..', '..', 'src', 'testMultiRootWkspc', 'multi.code-workspace');
1111
process.env.IS_CI_SERVER_TEST_DEBUGGER = '1';
1212
process.env.VSC_PYTHON_CI_TEST = '1';
13+
const channel = process.env.VSC_PYTHON_CI_TEST_VSC_CHANNEL || 'stable';
1314

1415
function start() {
1516
console.log('*'.repeat(100));
@@ -18,7 +19,7 @@ function start() {
1819
extensionDevelopmentPath: EXTENSION_ROOT_DIR_FOR_TESTS,
1920
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
2021
launchArgs: [workspacePath],
21-
version: 'stable',
22+
version: channel,
2223
extensionTestsEnv: { ...process.env, UITEST_DISABLE_INSIDERS: '1' }
2324
}).catch((ex) => {
2425
console.error('End Debugger tests (with errors)', ex);

src/test/multiRootTest.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@ process.env.VSC_PYTHON_CI_TEST = '1';
1111

1212
initializeLogger();
1313

14+
const channel = process.env.VSC_PYTHON_CI_TEST_VSC_CHANNEL || 'stable';
15+
1416
function start() {
1517
console.log('*'.repeat(100));
1618
console.log('Start Multiroot tests');
1719
runTests({
1820
extensionDevelopmentPath: EXTENSION_ROOT_DIR_FOR_TESTS,
1921
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
2022
launchArgs: [workspacePath],
21-
version: 'stable',
23+
version: channel,
2224
extensionTestsEnv: { ...process.env, UITEST_DISABLE_INSIDERS: '1' }
2325
}).catch((ex) => {
2426
console.error('End Multiroot tests (with errors)', ex);

0 commit comments

Comments
 (0)