grpc/test/cpp/interop
Tanvi Jagtap 7cc547dfd9 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36526)
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log

In this CL we are migrating from gRPCs own gpr logging mechanism to absl logging mechanism. The intention is to deprecate gpr_log in the future.

We have the following mapping
1. gpr_log(GPR_INFO,...) -> LOG(INFO)
2. gpr_log(GPR_ERROR,...) -> LOG(ERROR)
3. gpr_log(GPR_DEBUG,...) -> VLOG(2)

Reviewers need to check :
1. If the above mapping is correct.
2. The content of the log is as before.

gpr_log format strings did not use string_view or std::string . absl LOG accepts these. So there will be some elimination of string_view and std::string related conversions. This is expected.

Closes #36526

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36526 from tanvi-jagtap:test_large_interop_client_gpr_log 46a657fe20
PiperOrigin-RevId: 630993244
2024-05-06 03:50:34 -07:00
..
BUILD [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36526) 2024-05-06 03:50:34 -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 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT (#36438) 2024-04-25 21:03:38 -07:00
backend_metrics_lb_policy.h [clang-format] Remove requirement that port_platform.h is at the top (#36281) 2024-04-09 08:58:34 -07:00
backend_metrics_lb_policy_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
client.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
client_helper.cc [build] Restrict visibility for creating core credentials types. (#36216) 2024-04-17 01:21:29 +00:00
client_helper.h [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
grpclb_fallback_test.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
http2_client.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
http2_client.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop_client.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log (#36526) 2024-05-06 03:50:34 -07:00
interop_client.h [test] Allow set request/response size in interop soak test (#34010) 2023-08-10 09:34:27 -07:00
interop_server.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT (#36438) 2024-04-25 21:03:38 -07:00
interop_server_bootstrap.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
interop_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07: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 [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -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 [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
metrics_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
observability_client.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
observability_interop_server_bootstrap.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
pre_stop_hook_server.cc [test interop] Add HookService to the maintenence server (#34413) 2023-09-19 18:06:31 -07:00
pre_stop_hook_server.h [clang-format] Remove requirement that port_platform.h is at the top (#36281) 2024-04-09 08:58:34 -07:00
pre_stop_hook_server_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
reconnect_interop_client.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
reconnect_interop_server.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
rpc_behavior_lb_policy.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging GPR_ASSERT (#36438) 2024-04-25 21:03:38 -07:00
rpc_behavior_lb_policy.h [PSM Interop] Add custom_lb test client (#32757) 2023-03-31 14:03:44 -07: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 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07: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 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
xds_federation_client.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
xds_interop_client.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
xds_interop_server.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
xds_interop_server_lib.cc [PSM Interop] Add a payload to xds interop client when sending RPCs (#35545) 2024-01-25 16:12:45 -08:00
xds_interop_server_lib.h [xDS Interop] Use XdsServerBuilder when testing CSM Observability (#35634) 2024-01-23 22:33:57 -08:00
xds_interop_server_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07:00
xds_stats_watcher.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
xds_stats_watcher.h [PSM Interop] Return trailing metadata. (#34096) 2023-08-25 14:02:23 -07:00
xds_stats_watcher_test.cc [reorg] move test/core/util -> test/core/test_util (#36446) 2024-04-29 17:06:40 -07: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}