mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Relaunch the test process on retrying after failures.
So that runner exits continue the retry flows.
This commit is contained in:
@@ -151,6 +151,9 @@ struct RunTests: AsyncParsableCommand {
|
||||
// -test-iterations is the total number of attempts (initial + retries)
|
||||
command += " -retry-tests-on-failure"
|
||||
command += " -test-iterations \(retries + 1)"
|
||||
// Repetitions happen in the same process by default, so a runner that exits (e.g. code 75
|
||||
// after a failed app launch) takes its own retries down with it and the test gets skipped.
|
||||
command += " -test-repetition-relaunch-enabled YES"
|
||||
}
|
||||
|
||||
if let testName {
|
||||
|
||||
Reference in New Issue
Block a user