mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
Setup terminal tests for 3 retries to minimize impact on build
This isn't a great long term solution but it should help reduce failures for now. Part of #137725
This commit is contained in:
parent
005947e3b8
commit
faf6f0e1fd
|
@ -12,12 +12,15 @@ import { setup as setupTerminalProfileTests } from './terminal-profiles.test';
|
||||||
import { setup as setupTerminalTabsTests } from './terminal-tabs.test';
|
import { setup as setupTerminalTabsTests } from './terminal-tabs.test';
|
||||||
|
|
||||||
export function setup(opts: minimist.ParsedArgs) {
|
export function setup(opts: minimist.ParsedArgs) {
|
||||||
describe('Terminal', () => {
|
describe('Terminal', function () {
|
||||||
// TODO: Enable terminal tests for non-web when the desktop driver is moved to playwright
|
// TODO: Enable terminal tests for non-web when the desktop driver is moved to playwright
|
||||||
if (!opts.web) {
|
if (!opts.web) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Retry tests 3 times to minimize build failures due to any flakiness
|
||||||
|
this.retries(3);
|
||||||
|
|
||||||
beforeSuite(opts);
|
beforeSuite(opts);
|
||||||
afterSuite(opts);
|
afterSuite(opts);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue