Skip to content

Commit 5f990f3

Browse files
committed
Disable parallel testing for xcodebuild tests
Add -parallel-testing-enabled NO to both test and test-ui targets in the Makefile so xcodebuild runs tests serially. This prevents parallel test execution on the iOS simulator (iPhone 16e) which can reduce flakiness and resource conflicts during CI/local runs.
1 parent ad4cb00 commit 5f990f3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ test:
1919
-project CycleOne.xcodeproj \
2020
-scheme CycleOne \
2121
-destination 'platform=iOS Simulator,name=iPhone 16e,OS=latest' \
22+
-parallel-testing-enabled NO \
2223
-resultBundlePath TestResults.xcresult
2324

2425
test-ui:
2526
xcodebuild test \
2627
-project CycleOne.xcodeproj \
2728
-scheme CycleOneUITests \
28-
-destination 'platform=iOS Simulator,name=iPhone 16e,OS=latest'
29+
-destination 'platform=iOS Simulator,name=iPhone 16e,OS=latest' \
30+
-parallel-testing-enabled NO
2931

3032
clean:
3133
rm -rf build/

0 commit comments

Comments
 (0)