Skip to content

Commit 5fb8172

Browse files
author
Kartik Raj
committed
Fix flakiness
1 parent 262c14f commit 5fb8172

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/initialize.ts

Lines changed: 2 additions & 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() {
@@ -32,6 +32,7 @@ export async function initializePython() {
3232

3333
// tslint:disable-next-line:no-any
3434
export async function initialize(): Promise<IExtensionTestApi> {
35+
process.env.VSC_PYTHON_CI_TEST = '1';
3536
await initializePython();
3637
const api = await activateExtension();
3738
if (!IS_SMOKE_TEST) {

0 commit comments

Comments
 (0)