Skip to content

Commit 2dbe02b

Browse files
author
Kartik Raj
authored
Skip more flaky CI tests (#12577)
* Skip more flaky CI tests * Oops * Special hook
1 parent a94c8b8 commit 2dbe02b

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

src/test/common/platform/filesystem.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,9 @@ suite('FileSystem', () => {
953953
});
954954

955955
test('for symlinks, gets the info for the linked file', async function () {
956+
// https://github.com/microsoft/vscode-python/issues/10294
957+
// tslint:disable-next-line:no-invalid-this
958+
this.skip();
956959
if (!SUPPORTS_SYMLINKS) {
957960
// tslint:disable-next-line:no-invalid-this
958961
this.skip();

src/test/common/terminals/environmentActivationProviders/terminalActivation.testvirtualenvs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
updateSetting,
2121
waitForCondition
2222
} from '../../../common';
23-
import { EXTENSION_ROOT_DIR_FOR_TESTS } from '../../../constants';
23+
import { EXTENSION_ROOT_DIR_FOR_TESTS, TEST_TIMEOUT } from '../../../constants';
2424
import { sleep } from '../../../core';
2525
import { initialize, initializeTest } from '../../../initialize';
2626

@@ -192,5 +192,5 @@ suite('Activation of Environments in Terminal', () => {
192192
);
193193
await pythonSettings.update('condaPath', envPaths.condaExecPath, vscode.ConfigurationTarget.Workspace);
194194
await testActivation(envPaths.condaPath);
195-
});
195+
}).timeout(TEST_TIMEOUT * 2);
196196
});

src/test/format/extension.format.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ suite('Formatting - General', () => {
147147
});
148148
// tslint:disable-next-line:no-function-expression
149149
test('Black', async function () {
150+
// https://github.com/microsoft/vscode-python/issues/12564
151+
// tslint:disable-next-line: no-invalid-this
152+
return this.skip();
150153
if (!(await formattingTestIsBlackSupported())) {
151154
// Skip for versions of python below 3.6, as Black doesn't support them at all.
152155
// tslint:disable-next-line:no-invalid-this

src/test/testing/argsService.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import { ArgumentsService as PyTestArgumentsService } from '../../client/testing
1919
import { IArgumentsHelper, IArgumentsService } from '../../client/testing/types';
2020
import { ArgumentsService as UnitTestArgumentsService } from '../../client/testing/unittest/services/argsService';
2121
import { PYTHON_PATH } from '../common';
22+
import { TEST_TIMEOUT } from '../constants';
2223

2324
suite('ArgsService: Common', () => {
2425
UNIT_TEST_PRODUCTS.forEach((product) => {
@@ -33,7 +34,7 @@ suite('ArgsService: Common', () => {
3334
setup(function () {
3435
// Take the spawning of process into account.
3536
// tslint:disable-next-line:no-invalid-this
36-
this.timeout(5000);
37+
this.timeout(TEST_TIMEOUT * 2);
3738
const serviceContainer = typeMoq.Mock.ofType<IServiceContainer>();
3839

3940
const argsHelper = new ArgumentsHelper();

0 commit comments

Comments
 (0)