react-native/scripts
Saad Najmi c67dfbbe42 chore(ci): Set retryOnFailure for RNTester iOS Unit and Integration tests (#44642)
Summary:
On React Native macOS (I am not sure with the current state of React Native), the Xcode Unit and Integration tests are a bit flaky. Rather than set "retry on failure up to 3 times" through the pipeline config (in our case, Azure Pipelines), I realized my earlier PR to use Xcode test plans (https://github.com/facebook/react-native/pull/36443) means we can have Xcode retry the test. This should be faster than retrying it on the pipeline, because it retries just the failing test, not the entire "test" step. I did this on React Native macOS, so I'm doing it upstream so we can remove a diff.

## Changelog:

[INTERNAL] [CHANGED] - Set `retryOnFailure` for Xcode Unit and Integration tests

Pull Request resolved: https://github.com/facebook/react-native/pull/44642

Test Plan: CI should pass (faster)

Reviewed By: cortinico

Differential Revision: D57662523

Pulled By: cipolleschi

fbshipit-source-id: 8de2ab0ea15ba4d38c3b5bf96108c0c7ff5e9f32
2024-05-30 07:24:35 -07:00
..
__tests__ Add support for patch rc versions 2024-04-25 15:17:34 -07:00
build update shared build to strip Babel wrapper (#44339) 2024-05-02 04:00:21 -07:00
circleci chore(ci): Set retryOnFailure for RNTester iOS Unit and Integration tests (#44642) 2024-05-30 07:24:35 -07:00
debugger-frontend Add --create-diff mode to debugger-frontend sync script (#43621) 2024-03-22 12:11:48 -07:00
e2e Fix E2E template install in CI jobs (#43323) 2024-03-05 06:18:37 -08:00
monorepo Remove bump-all-updated-packages script (#43534) 2024-03-19 07:05:03 -07:00
release-testing Add useLastSuccessfulPipeline to release testing script (#44088) 2024-04-16 10:34:44 -07:00
releases RN/Relay: Upgrade to React v18.3.1 (#44397) 2024-05-02 16:18:26 -07:00
releases-ci Remove bump-all-updated-packages script (#43534) 2024-03-19 07:05:03 -07:00
releases-local Switch to new release workflow as default (#43533) 2024-03-19 07:05:03 -07:00
utils Relocate and export updatePackageJson script util 2024-03-04 02:54:44 -08:00
.tests.env Test against XCode 14.3 and 15 (#41798) 2023-12-05 15:35:05 -08:00
android-e2e-test.js Enable lint/sort-imports everywhere (#41334) 2023-11-06 12:59:38 -08:00
consts.js Fix RNTester Podfile.lock update in release workflow (#43513) 2024-03-15 10:32:07 -07:00
lint-java.js Enable lint/sort-imports everywhere (#41334) 2023-11-06 12:59:38 -08:00
npm-utils.js Add support for patch rc versions 2024-04-25 15:17:34 -07:00
objc-test.sh Remove deprecated Snapshot tests (#39720) 2023-10-03 04:33:53 -07:00
process-podspecs.sh Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
run-ci-javascript-tests.js RN: Fix Open Source Test Scripts 2024-03-29 01:42:24 -07:00
scm-utils.js Enable Flow on misc release scripts (#42736) 2024-01-31 03:36:02 -08:00
sync-css-layout.sh | RN Monorepo | Migrate to package (#36434) 2023-03-17 05:03:25 -07:00
validate-ios-test-env.sh bump Node references from 12/14 to 14/16 (#32980) 2022-01-28 05:07:18 -08:00