Skip to content

Commit 4b06b7b

Browse files
committed
test(ci): increase delays for simulator boot / continue on video stop error
1 parent 58b2caa commit 4b06b7b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests_e2e_ios.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,20 +183,21 @@ jobs:
183183
- name: Record App Video
184184
# With a little delay so the detox test below has time to spawn it, missing the first part of boot is fine
185185
continue-on-error: true
186-
run: nohup sh -c "sleep 30 && xcrun simctl io booted recordVideo --codec=h264 -f simulator.mp4 2>&1 &"
186+
run: nohup sh -c "sleep 110 && xcrun simctl io booted recordVideo --codec=h264 -f simulator.mp4 2>&1 &"
187187

188188
- name: Create Simulator Log
189189
# With a little delay so the detox test below has time to spawn it, missing the first part of boot is fine
190190
# If you boot the simulator separately from detox, some other race fails and detox testee never sends ready to proxy
191191
continue-on-error: true
192-
run: nohup sh -c "sleep 30 && xcrun simctl spawn booted log stream --level debug --style compact > simulator.log 2>&1 &"
192+
run: nohup sh -c "sleep 110 && xcrun simctl spawn booted log stream --level debug --style compact > simulator.log 2>&1 &"
193193

194194
- name: Detox Test
195195
timeout-minutes: 50
196196
run: yarn tests:ios:test-cover
197197

198198
- name: Stop App Video
199199
if: always()
200+
continue-on-error: true
200201
run: killall -INT simctl
201202

202203
- name: Upload App Video

0 commit comments

Comments
 (0)