smoke - 🆙 timeouts

This commit is contained in:
Benjamin Pasero 2022-01-19 19:45:03 +01:00
parent 0b46b25c29
commit 96206bb5a8
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65
3 changed files with 6 additions and 7 deletions

View file

@ -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);
}

View file

@ -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,

View file

@ -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']
};