mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
parent
209e9349fd
commit
2b19344369
|
@ -62,7 +62,17 @@ suite('Workbench - Test Results Service', () => {
|
|||
r.addTask({ id: 't', name: undefined, running: true });
|
||||
|
||||
tests = testStubs.nested();
|
||||
await tests.expand(tests.root.id, Infinity);
|
||||
const ok = await Promise.race([
|
||||
Promise.resolve(tests.expand(tests.root.id, Infinity)).then(() => true),
|
||||
timeout(1000).then(() => false),
|
||||
]);
|
||||
|
||||
// todo@connor4312: debug for tests #137853:
|
||||
if (!ok) {
|
||||
throw new Error('timed out while expanding, diff: ' + JSON.stringify(tests.collectDiff()));
|
||||
}
|
||||
|
||||
|
||||
r.addTestChainToRun('ctrlId', [
|
||||
Convert.TestItem.from(tests.root),
|
||||
Convert.TestItem.from(tests.root.children.get('id-a') as TestItemImpl),
|
||||
|
|
|
@ -28,8 +28,6 @@ const excludeGlob = '**/{browser,electron-sandbox,electron-browser,electron-main
|
|||
const excludeModules = [
|
||||
'vs/platform/environment/test/node/nativeModules.test.js', // native modules are compiled against Electron and this test would fail with node.js
|
||||
'vs/base/parts/storage/test/node/storage.test.js', // same as above, due to direct dependency to sqlite native module
|
||||
'vs/workbench/contrib/testing/test/common/testResultStorage.test.js', // TODO@connor4312 https://github.com/microsoft/vscode/issues/137853
|
||||
'vs/workbench/contrib/testing/test/common/testResultService.test.js', // TODO@connor4312 https://github.com/microsoft/vscode/issues/137853
|
||||
'vs/platform/files/test/common/files.test.js' // TODO@bpasero enable once we ship Electron 16
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue