mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
smoke - do not fail build when unable to delete workspace folder (workaround #137725)
This commit is contained in:
parent
a5efd80ee0
commit
c42793d035
|
@ -344,7 +344,12 @@ after(async function () {
|
|||
await promisify(ncp)(logsDir, destLogsDir);
|
||||
}
|
||||
|
||||
await new Promise<void>((resolve, reject) => rimraf(testDataPath, { maxBusyTries: 50 }, error => error ? reject(error) : resolve()));
|
||||
try {
|
||||
await new Promise<void>((resolve, reject) => rimraf(testDataPath, { maxBusyTries: 10 }, error => error ? reject(error) : resolve()));
|
||||
} catch (error) {
|
||||
// TODO@tyriar TODO@meganrogge https://github.com/microsoft/vscode/issues/137725
|
||||
console.error(`Unable to delete smoke test workspace: ${error}. This indicates some process is locking the workspace folder.`);
|
||||
}
|
||||
});
|
||||
|
||||
describe(`VSCode Smoke Tests (${opts.web ? 'Web' : 'Electron'})`, () => {
|
||||
|
|
Loading…
Reference in a new issue