From 599b50228a99faf552141bb938d688fdeb46991b Mon Sep 17 00:00:00 2001 From: Hannah Shi Date: Tue, 2 Apr 2024 15:01:44 -0700 Subject: [PATCH] [ObjC] increase Basic Tests C/C++ MacOS jobs (#36190) These tests are slow and can timeout, this diff increase the number of concurrent jobs to 4 and 8, which may help avoid timeouts. These parameters are also configured differently in [many other tests](https://github.com/search?q=repo%3Agrpc%2Fgrpc+inner_jobs&type=code). ``` 2024-03-10 07:00:56,453 START: run_tests_c_macos_dbg_native 2024-03-10 07:06:44,335 PASSED: run_tests_c_macos_dbg_native [time=347.9sec, retries=0:0] 2024-03-10 07:06:44,335 START: run_tests_c_macos_opt_native 2024-03-10 07:12:54,717 PASSED: run_tests_c_macos_opt_native [time=370.4sec, retries=0:0] 2024-03-10 07:12:54,717 START: run_tests_c++_macos_dbg_native 2024-03-10 09:19:00,785 PASSED: run_tests_c++_macos_dbg_native [time=7566.1sec, retries=0:0] 2024-03-10 09:19:00,788 START: run_tests_c++_macos_opt_native ERROR: Aborting VM command due to timeout of 14400 seconds ``` Closes #36190 COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36190 from HannahShiSFB:basic-c-cpp-macos-jobs c026a6afbc2866e74f94cb479b5746b2d5f5879e PiperOrigin-RevId: 621306368 --- tools/internal_ci/macos/grpc_basictests_c_cpp.cfg | 2 +- tools/internal_ci/macos/pull_request/grpc_basictests_c_cpp.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/internal_ci/macos/grpc_basictests_c_cpp.cfg b/tools/internal_ci/macos/grpc_basictests_c_cpp.cfg index 0f08946d8a8..53645ccf4b6 100644 --- a/tools/internal_ci/macos/grpc_basictests_c_cpp.cfg +++ b/tools/internal_ci/macos/grpc_basictests_c_cpp.cfg @@ -27,5 +27,5 @@ action { env_vars { key: "RUN_TESTS_FLAGS" - value: "-f basictests macos corelang --internal_ci -j 1 --inner_jobs 4 --bq_result_table aggregate_results" + value: "-f basictests macos corelang --internal_ci -j 4 --inner_jobs 8 --bq_result_table aggregate_results" } diff --git a/tools/internal_ci/macos/pull_request/grpc_basictests_c_cpp.cfg b/tools/internal_ci/macos/pull_request/grpc_basictests_c_cpp.cfg index 63486a49f57..a421a083ea6 100644 --- a/tools/internal_ci/macos/pull_request/grpc_basictests_c_cpp.cfg +++ b/tools/internal_ci/macos/pull_request/grpc_basictests_c_cpp.cfg @@ -28,5 +28,5 @@ action { env_vars { key: "RUN_TESTS_FLAGS" # on pull requests, only run the "dbg" configuration due to CI resource constraints - value: "-f basictests macos corelang dbg --internal_ci -j 1 --inner_jobs 4 --max_time=3600" + value: "-f basictests macos corelang dbg --internal_ci -j 4 --inner_jobs 8 --max_time=3600" }