mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 09:18:59 +00:00
smoke - 🆙 timeouts
This commit is contained in:
parent
0b46b25c29
commit
96206bb5a8
|
@ -135,11 +135,10 @@ export function setup(ensureStableCode: () => string | undefined, logger: Logger
|
|||
|
||||
// macOS: the first launch of stable Code will trigger
|
||||
// additional checks in the OS (notarization validation)
|
||||
// so it can take a very long time. as such we increase
|
||||
// the timeout and install a retry handler to make sure
|
||||
// we do not fail as a consequence.
|
||||
// so it can take a very long time. as such we install
|
||||
// a retry handler to make sure we do not fail as a
|
||||
// consequence.
|
||||
if (process.platform === 'darwin') {
|
||||
this.timeout(2 * 60 * 1000);
|
||||
this.retries(2);
|
||||
}
|
||||
|
||||
|
|
|
@ -332,7 +332,7 @@ async function setup(): Promise<void> {
|
|||
|
||||
// Before main suite (before all tests)
|
||||
before(async function () {
|
||||
this.timeout(2 * 60 * 1000); // allow two minutes for setup
|
||||
this.timeout(5 * 60 * 1000); // increase since we download VSCode
|
||||
|
||||
this.defaultOptions = {
|
||||
quality,
|
||||
|
|
|
@ -17,8 +17,8 @@ const suite = opts['web'] ? 'Browser Smoke Tests' : 'Desktop Smoke Tests';
|
|||
|
||||
const options = {
|
||||
color: true,
|
||||
timeout: 60000,
|
||||
slow: 30000,
|
||||
timeout: 2 * 60 * 1000,
|
||||
slow: 30 * 1000,
|
||||
grep: opts['f'] || opts['g']
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue