Skip to content

Commit 77bc1f6

Browse files
author
Kartik Raj
authored
Double test timeout for linter multiroot tests (#9836)
1 parent 863453e commit 77bc1f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/linters/lint.multiroot.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import { ICondaService } from '../../client/interpreter/contracts';
1717
import { CondaService } from '../../client/interpreter/locators/services/condaService';
1818
import { ILinter, ILinterManager } from '../../client/linters/types';
1919
import { TEST_OUTPUT_CHANNEL } from '../../client/testing/common/constants';
20+
import { TEST_TIMEOUT } from '../constants';
2021
import { closeActiveWindows, initialize, initializeTest, IS_MULTI_ROOT_TEST } from '../initialize';
2122
import { UnitTestIocContainer } from '../testing/serviceRegistry';
2223

@@ -83,13 +84,13 @@ suite('Multiroot Linting', () => {
8384

8485
test('Enabling Pylint in root and also in Workspace, should return errors', async () => {
8586
await runTest(Product.pylint, true, true, pylintSetting);
86-
});
87+
}).timeout(TEST_TIMEOUT * 2);
8788
test('Enabling Pylint in root and disabling in Workspace, should not return errors', async () => {
8889
await runTest(Product.pylint, true, false, pylintSetting);
89-
});
90+
}).timeout(TEST_TIMEOUT * 2);
9091
test('Disabling Pylint in root and enabling in Workspace, should return errors', async () => {
9192
await runTest(Product.pylint, false, true, pylintSetting);
92-
});
93+
}).timeout(TEST_TIMEOUT * 2);
9394

9495
test('Enabling Flake8 in root and also in Workspace, should return errors', async () => {
9596
await runTest(Product.flake8, true, true, flake8Setting);

0 commit comments

Comments
 (0)