@@ -129,37 +129,39 @@ jobs:
129
129
CCACHE_DISABLE: 1
130
130
displayName: Build ${{ slice.scheme }}
131
131
132
- # Skip testing on visionOS via the conditions below
133
132
134
- - ${{ if ne(slice.scheme, 'RNTester-visionOS') }} :
135
- - task : ShellScript@2
136
- displayName : Setup packager and WebSocket test server
137
- inputs :
138
- scriptPath : .ado/scripts/ado-test-setup.sh
139
- disableAutoCwd : true
140
- cwd : ' '
133
+ # https://github.com/microsoft/react-native-macos/issues/2297
134
+ # Skip native tests as they tend to be flaky
141
135
142
- - script : |
143
- echo Preparing the packager for platform $PLATFORM
144
- curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
145
- curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
146
- curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
147
- curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
148
- env:
149
- PLATFORM: ${{ slice.packager_platform }}
150
- displayName: Fetch JS bundles from dev server
136
+ # - ${{ if ne(slice.scheme, 'RNTester-visionOS') }}:
137
+ # - task: ShellScript@2
138
+ # displayName: Setup packager and WebSocket test server
139
+ # inputs:
140
+ # scriptPath: .ado/scripts/ado-test-setup.sh
141
+ # disableAutoCwd: true
142
+ # cwd: ''
151
143
152
- - script : |
153
- set -eox pipefail
154
- .ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
155
- env:
156
- CCACHE_DISABLE: 1
157
- displayName: Test ${{ slice.scheme }}
144
+ # - script: |
145
+ # echo Preparing the packager for platform $PLATFORM
146
+ # curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
147
+ # curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/packages/rn-tester/js/RNTesterApp.${PLATFORM}.bundle?platform=${PLATFORM}&dev=true&minify=false" -o /dev/null
148
+ # curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/IntegrationTestsApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
149
+ # curl --retry-connrefused --connect-timeout 5 --max-time 10 --retry 10 --retry-delay 5 --retry-max-time 120 "http://localhost:8081/IntegrationTests/RCTRootViewIntegrationTestApp.bundle?platform=${PLATFORM}&dev=true" -o /dev/null
150
+ # env:
151
+ # PLATFORM: ${{ slice.packager_platform }}
152
+ # displayName: Fetch JS bundles from dev server
153
+
154
+ # - script: |
155
+ # set -eox pipefail
156
+ # .ado/scripts/xcodebuild.sh packages/rn-tester/RNTesterPods.xcworkspace ${{ slice.sdk }} ${{ slice.scheme }} test
157
+ # env:
158
+ # CCACHE_DISABLE: 1
159
+ # displayName: Test ${{ slice.scheme }}
158
160
159
- - task : ShellScript@2
160
- displayName : Cleanup packager and WebSocket test server
161
- inputs :
162
- scriptPath : .ado/scripts/ado-test-cleanup.sh
163
- disableAutoCwd : true
164
- cwd : ' '
165
- condition : always()
161
+ # - task: ShellScript@2
162
+ # displayName: Cleanup packager and WebSocket test server
163
+ # inputs:
164
+ # scriptPath: .ado/scripts/ado-test-cleanup.sh
165
+ # disableAutoCwd: true
166
+ # cwd: ''
167
+ # condition: always()
0 commit comments