Skip to content

Commit

Permalink
test cf event engine with ios
Browse files Browse the repository at this point in the history
  • Loading branch information
HannahShiSFB committed Apr 7, 2023
1 parent 3ff5231 commit 66ce61a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions src/objective-c/tests/run_one_test_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ $INTEROP --port=$TLS_PORT --max_send_message_size=8388608 --use_tls &
trap 'kill -9 `jobs -p` ; echo "EXIT TIME: $(date)"' EXIT

time $BAZEL test --ios_multi_cpus=x86_64,sim_arm64 \
--runs_per_test=500 \
--config=dbg --cxxopt=-DGRPC_IOS_EVENT_ENGINE_CLIENT=1 \
--test_output=errors --cache_test_results=no \
--test_env GRPC_VERBOSITY=debug \
--test_env GRPC_TRACE=all \
--test_env HOST_PORT_LOCALSSL=localhost:$TLS_PORT \
--test_env HOST_PORT_LOCAL=localhost:$PLAIN_PORT \
$SCHEME
8 changes: 5 additions & 3 deletions tools/internal_ci/macos/grpc_objc_bazel_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ TEST_TARGETS=(
//src/objective-c/tests:InteropTestsRemote
//src/objective-c/tests:MacTests
//src/objective-c/tests:UnitTests
//src/objective-c/tests:CppCronetTests
//src/objective-c/tests:CronetTests
# //src/objective-c/tests:CppCronetTests
# //src/objective-c/tests:CronetTests
//src/objective-c/tests:PerfTests
//src/objective-c/tests:CFStreamTests
# //src/objective-c/tests:CFStreamTests
//src/objective-c/tests:tvtests_build_test
# codegen plugin tests
//src/objective-c/tests:objc_codegen_plugin_test
Expand Down Expand Up @@ -113,6 +113,8 @@ objc_bazel_tests/bazel_wrapper \
--google_credentials="${KOKORO_GFILE_DIR}/GrpcTesting-d0eeee2db331.json" \
"${BAZEL_REMOTE_CACHE_ARGS[@]}" \
$BAZEL_FLAGS \
--config=dbg --cxxopt=-DGRPC_IOS_EVENT_ENGINE_CLIENT=1 \
--test_env=GRPC_VERBOSITY=debug --test_env=GRPC_TRACE=event_engine_endpoint,event_engine,api \
"${OBJC_TEST_ENV_ARGS[@]}" \
-- \
"${EXAMPLE_TARGETS[@]}" \
Expand Down

0 comments on commit 66ce61a

Please sign in to comment.