From 1febb3ef91b3bb64cd2449b801f1615422dcae43 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 11 Aug 2026 19:51:33 +0300 Subject: [PATCH] Retry failed XCUITests --- Tools/Sources/Commands/CI/UITests.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {