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 Feb 26, 2019
1 parent b9508ec commit c5481f7
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 @@ -318,6 +318,12 @@ suite('Multiroot Environment Variables Provider', () => {
});

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
this.timeout(20000);
const env3 = path.join(workspace4Path.fsPath, '.env3');
Expand Down Expand Up @@ -370,6 +376,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 c5481f7

Please sign in to comment.