grpc/test/cpp/interop
Eugene Ostroukhov 65fa0f605a
[testing] Update orca-* tests for better compatibility (#32630)
1. Make channel creation lazy. This allows test cases to update the
configuration before the connection is made.
2. Pass load reports tracker when creating the policy. This way other
test cases do not see any changes to ChannelArguments.

Using grpc_core::CoreConfiguration::RunWithSpecialConfiguration was
considered but did not work as it removes other builders setup prior to
starting the test cases.
2023-03-16 12:54:59 -07:00
..
BUILD [testing] Synchronize interop test protos. (#32631) 2023-03-16 12:37:54 -07:00
README.md [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
backend_metrics_lb_policy.cc [testing] Synchronize interop test protos. (#32631) 2023-03-16 12:37:54 -07:00
backend_metrics_lb_policy.h [testing] Synchronize interop test protos. (#32631) 2023-03-16 12:37:54 -07:00
client.cc [testing]: Add "orca_oob" test case (#32599) 2023-03-15 08:24:36 -07:00
client_helper.cc [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
client_helper.h [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
grpclb_fallback_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
http2_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
http2_client.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop_client.cc [testing] Update orca-* tests for better compatibility (#32630) 2023-03-16 12:54:59 -07:00
interop_client.h [testing] Update orca-* tests for better compatibility (#32630) 2023-03-16 12:54:59 -07:00
interop_server.cc [testing] Synchronize interop test protos. (#32631) 2023-03-16 12:37:54 -07:00
interop_server_bootstrap.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
interop_test_with_metadata_log.sh add --log_metadata_and_status feature to interop_client (#28021) 2021-11-23 15:32:13 -08:00
istio_echo_server.cc Revert "Revert "[c++] Move environment functions to C++ (#30937)" (#30986)" (#30988) 2022-09-14 14:19:36 -07:00
istio_echo_server_lib.cc Istio Echo: Add version string (#30477) 2022-08-03 10:35:31 -07:00
istio_echo_server_lib.h Istio Echo: Add version string (#30477) 2022-08-03 10:35:31 -07:00
istio_echo_server_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
metrics_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
observability_client.cc [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
observability_interop_server_bootstrap.cc GCP Observability testing for C++ (#32531) 2023-03-02 18:10:48 -08:00
reconnect_interop_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
reconnect_interop_server.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
server_helper.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
server_helper.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
stress_interop_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
stress_interop_client.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
stress_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
xds_federation_client.cc [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
xds_interop_client.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
xds_interop_server.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00

README.md

Running a test locally during development

To start a server during development:

  1. Choose an available port number.
  2. Start the server:
GRPC_VERBOSITY=DEBUG ibazel run --compilation_mode=dbg //test/cpp/interop:interop_server -- --port={port_number}
  1. Start the client:
GRPC_VERBOSITY=DEBUG ibazel run --test_output=streamed //test/cpp/interop:interop_client -- --server_port={port_number} --test_case={test_case}