Skip to content

Commit 13e8a6e

Browse files
authored
[Tooling] Exclude retries when making sure tests are not failing (#15236)
2 parents a39317e + 9ef1edb commit 13e8a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlane/Fastfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,8 +1324,8 @@ lane :test_without_building do |options|
13241324
fail_build: true
13251325
)
13261326

1327-
# Trainer sometimes doesn't detect test failures, so we manually throw an error in the lane if there are failures to make sure there are no false positives
1328-
UI.user_error!("Tests failed with #{tests_result[:number_of_failures]} failures.") if tests_result[:number_of_failures].positive?
1327+
# `trainer` sometimes doesn't detect test failures, so we manually throw an error in the lane if there are failures to make sure there are no false positives
1328+
UI.user_error!("Tests failed with #{tests_result[:number_of_failures_excluding_retries]} failures.") if tests_result[:number_of_failures_excluding_retries].positive?
13291329
end
13301330

13311331
# -----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)