diff --git a/Tools/Sources/Commands/CI/UITests.swift b/Tools/Sources/Commands/CI/UITests.swift index 947a52569..4f7f695b2 100644 --- a/Tools/Sources/Commands/CI/UITests.swift +++ b/Tools/Sources/Commands/CI/UITests.swift @@ -47,7 +47,10 @@ struct UITests: AsyncParsableCommand { "--device", simulatorName, "--os-version", osVersion, "--create-simulator-name", simulatorName, - "--create-simulator-type", simulatorType + "--create-simulator-type", simulatorType, + // A loaded runner can blow XCUITest's 60s app launch budget, which no amount of waiting + // in the tests can prevent, so give the failures a second run before failing the job. + "--retries", "1" ] if let testName {