[ObjC] run ios tests with event engine enabled (#33590)

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
pull/33703/head
Hannah Shi 1 year ago committed by GitHub
parent 82cdea3b88
commit 2556033de0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 30
      tools/internal_ci/macos/grpc_objc_bazel_test.sh

@ -119,3 +119,33 @@ objc_bazel_tests/bazel_wrapper \
-- \
"${EXAMPLE_TARGETS[@]}" \
"${TEST_TARGETS[@]}"
# Enable event engine and run tests again.
TEST_TARGETS=(
//src/objective-c/tests:InteropTestsLocalCleartext
//src/objective-c/tests:InteropTestsLocalSSL
//src/objective-c/tests:InteropTestsRemote
//src/objective-c/tests:MacTests
//src/objective-c/tests:UnitTests
//src/objective-c/tests:tvtests_build_test
# codegen plugin tests
//src/objective-c/tests:objc_codegen_plugin_test
//src/objective-c/tests:objc_codegen_plugin_option_test
)
python3 tools/run_tests/python_utils/bazel_report_helper.py --report_path objc_event_engine_bazel_tests
objc_event_engine_bazel_tests/bazel_wrapper \
--bazelrc=tools/remote_build/include/test_locally_with_resultstore_results.bazelrc \
test \
--google_credentials="${KOKORO_GFILE_DIR}/GrpcTesting-d0eeee2db331.json" \
"${BAZEL_REMOTE_CACHE_ARGS[@]}" \
$BAZEL_FLAGS \
--cxxopt=-DGRPC_IOS_EVENT_ENGINE_CLIENT=1 \
--test_env=GRPC_EXPERIMENTS=event_engine_client \
--test_env=GRPC_VERBOSITY=debug --test_env=GRPC_TRACE=event_engine,api \
"${OBJC_TEST_ENV_ARGS[@]}" \
-- \
"${EXAMPLE_TARGETS[@]}" \
"${TEST_TARGETS[@]}"

Loading…
Cancel
Save