Skip to content

Commit c440a23

Browse files
author
Kartik Raj
authored
Fix multiroot flaky CI tests (#11544)
* Fix flakiness * The right fix
1 parent d5065e6 commit c440a23

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/initialize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const multirootPath = path.join(__dirname, '..', '..', 'src', 'testMultiR
2020
const workspace3Uri = vscode.Uri.file(path.join(multirootPath, 'workspace3'));
2121

2222
//First thing to be executed.
23-
process.env['VSC_PYTHON_CI_TEST'] = '1';
23+
process.env.VSC_PYTHON_CI_TEST = '1';
2424

2525
// Ability to use custom python environments for testing
2626
export async function initializePython() {

src/test/multiRootTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { EXTENSION_ROOT_DIR_FOR_TESTS } from './constants';
66

77
const workspacePath = path.join(__dirname, '..', '..', 'src', 'testMultiRootWkspc', 'multi.code-workspace');
88
process.env.IS_CI_SERVER_TEST_DEBUGGER = '';
9+
process.env.VSC_PYTHON_CI_TEST = '1';
910

1011
function start() {
1112
console.log('*'.repeat(100));

0 commit comments

Comments
 (0)