diff --git a/src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts b/src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts index dc2324ac9900..1fe20c50f337 100644 --- a/src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts +++ b/src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts @@ -190,7 +190,8 @@ suite('Activation of Environments in Terminal', () => { test('Should activate with virtualenv', async () => { await testActivation(envPaths.virtualEnvPath); }); - test('Should activate with conda', async () => { + test('Should activate with conda', async function () { + this.skip(); // Powershell does not work with conda by default, hence use cmd. await terminalSettings.update( 'integrated.defaultProfile.windows', diff --git a/src/test/pythonEnvironments/base/locators/lowLevel/watcherTestUtils.ts b/src/test/pythonEnvironments/base/locators/lowLevel/watcherTestUtils.ts index efc3a7f75021..274243799141 100644 --- a/src/test/pythonEnvironments/base/locators/lowLevel/watcherTestUtils.ts +++ b/src/test/pythonEnvironments/base/locators/lowLevel/watcherTestUtils.ts @@ -168,7 +168,7 @@ export function testLocatorWatcher( locator.onChanged(onChanged); await getEnvs(locator.iterEnvs()); // Force the FS watcher to start. // Wait for watchers to get ready - await sleep(1000); + await sleep(2000); } teardown(async () => { @@ -203,7 +203,7 @@ export function testLocatorWatcher( externalDeps.arePathsSame(actualEvent!.searchLocation!.fsPath, path.dirname(envDir)), 'Wrong event emitted', ); - }); + }).timeout(TEST_TIMEOUT * 2); test('Detect when an environment has been deleted', async () => { let actualEvent: PythonEnvsChangedEvent; @@ -237,7 +237,7 @@ export function testLocatorWatcher( externalDeps.arePathsSame(actualEvent!.searchLocation!.fsPath, path.dirname(envDir)), 'Wrong event emitted', ); - }); + }).timeout(TEST_TIMEOUT * 2); test('Detect when an environment has been updated', async () => { let actualEvent: PythonEnvsChangedEvent; @@ -264,5 +264,5 @@ export function testLocatorWatcher( externalDeps.arePathsSame(actualEvent!.searchLocation!.fsPath, path.dirname(envDir)), `Paths don't match ${actualEvent!.searchLocation!.fsPath} != ${path.dirname(envDir)}`, ); - }); + }).timeout(TEST_TIMEOUT * 2); }