Skip to content

Commit

Permalink
Fix CI by increasing test timeouts (#2584)
Browse files Browse the repository at this point in the history
These tests are [timing
out](https://buildkite.com/bazel/rules-apple-darwin/builds/9746#0192fa6f-e2fe-4a37-982e-85f71c7bc17f)
so increasing their size and timeouts
  • Loading branch information
luispadron authored Nov 6, 2024
1 parent 0c9739b commit 34fca97
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ apple_multi_shell_test(

apple_multi_shell_test(
name = "ios_application_swift_test",
size = "medium",
size = "large",
src = "ios_application_swift_test.sh",
configurations = IOS_64BIT_SIMULATOR_FAT_DEVICE_CONFIGURATIONS,
)
Expand Down
8 changes: 8 additions & 0 deletions test/ios_coverage_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,28 +202,34 @@ ios_application(
ios_unit_test(
name = "hosted_test",
deps = [":hosted_test_lib"],
env = {"STARTUP_TIMEOUT_SEC": "300"},
minimum_os_version = "${MIN_OS_IOS}",
size = "large",
test_host = ":app",
)
ios_unit_test(
name = "standalone_test",
deps = [":standalone_test_lib"],
env = {"STARTUP_TIMEOUT_SEC": "300"},
minimum_os_version = "${MIN_OS_IOS}",
size = "large",
)
ios_unit_test(
name = "standalone_test_new_runner",
deps = [":standalone_test_lib"],
minimum_os_version = "${MIN_OS_IOS}",
runner = "@build_bazel_rules_apple//apple/testing/default_runner:ios_xctestrun_random_runner",
size = "large",
)
ios_unit_test(
name = "coverage_manifest_test",
deps = [":standalone_test_lib"],
minimum_os_version = "${MIN_OS_IOS}",
test_coverage_manifest = "coverage_manifest.txt",
size = "large",
)
ios_unit_test(
Expand All @@ -232,6 +238,7 @@ ios_unit_test(
minimum_os_version = "${MIN_OS_IOS}",
test_coverage_manifest = "coverage_manifest.txt",
runner = "@build_bazel_rules_apple//apple/testing/default_runner:ios_xctestrun_ordered_runner",
size = "large",
)
ios_ui_test(
Expand All @@ -240,6 +247,7 @@ ios_ui_test(
minimum_os_version = "15",
test_host = ":coverage_app",
runner = "@build_bazel_rules_apple//apple/testing/default_runner:ios_xctestrun_random_runner",
size = "large",
)
EOF
}
Expand Down

0 comments on commit 34fca97

Please sign in to comment.