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:
Daniel Imms 2021-11-30 12:19:10 -08:00
parent 005947e3b8
commit faf6f0e1fd

View File

@ -12,12 +12,15 @@ import { setup as setupTerminalProfileTests } from './terminal-profiles.test';
import { setup as setupTerminalTabsTests } from './terminal-tabs.test';
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
if (!opts.web) {
return;
}
// Retry tests 3 times to minimize build failures due to any flakiness
this.retries(3);
beforeSuite(opts);
afterSuite(opts);