mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-01 17:23:35 -05:00
Merge from vscode merge-base (#22780)
* Revert "Revert "Merge from vscode merge-base (#22769)" (#22779)"
This reverts commit 47a1745180.
* Fix notebook download task
* Remove done call from extensions-ci
This commit is contained in:
@@ -20,6 +20,7 @@ export interface LaunchOptions {
|
||||
readonly extensionsPath: string;
|
||||
readonly logger: Logger;
|
||||
logsPath: string;
|
||||
crashesPath: string;
|
||||
readonly verbose?: boolean;
|
||||
readonly extraArgs?: string[];
|
||||
readonly remote?: boolean;
|
||||
@@ -157,11 +158,6 @@ export class Code {
|
||||
});
|
||||
}
|
||||
|
||||
if (retries === 40) {
|
||||
done = true;
|
||||
reject(new Error('Smoke test exit call did not terminate process after 20s, giving up'));
|
||||
}
|
||||
|
||||
try {
|
||||
process.kill(pid, 0); // throws an exception if the process doesn't exist anymore.
|
||||
await new Promise(resolve => setTimeout(resolve, 500));
|
||||
@@ -169,6 +165,12 @@ export class Code {
|
||||
done = true;
|
||||
resolve();
|
||||
}
|
||||
|
||||
if (retries === 60) {
|
||||
done = true;
|
||||
this.logger.log('Smoke test exit call did not terminate process after 30s, giving up');
|
||||
resolve();
|
||||
}
|
||||
}
|
||||
})();
|
||||
}), 'Code#exit()', this.logger);
|
||||
|
||||
Reference in New Issue
Block a user