grpc/test/cpp/interop
Tanvi Jagtap 259f0e7903 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222)
Replacing GPR_ASSERT with absl CHECK

Will not be replacing CHECK with CHECK_EQ , CHECK_NE etc because there are too many callsites.

This could be done using Cider-V once these changes are submitted if we want to clean up later. Given that we have 4000+ instances of GPR_ASSERT to edit, Doing it manually is too much work for both the author and reviewer.

<!--

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.

-->

Closes #36222

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36222 from tanvi-jagtap:assert_interop adcc660e78
PiperOrigin-RevId: 623366969
2024-04-09 21:32:34 -07:00
..
BUILD [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32: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 (#36222) 2024-04-09 21:32:34 -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 [test] increase timeout (#36308) 2024-04-09 12:40:20 -07:00
client.cc [test] Allow set request/response size in interop soak test (#34010) 2023-08-10 09:34:27 -07:00
client_helper.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -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 [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_ASSERT (#36222) 2024-04-09 21:32: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 (#36222) 2024-04-09 21:32:34 -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 [otel] Return absl::Status as a return from BuildAndRegisterGlobal (#35659) 2024-01-25 08:40:16 -08:00
observability_interop_server_bootstrap.cc [Deps] Update to Clang-16 (#34492) 2023-10-11 16:26:32 -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 [interop test] Fix the test (#34424) 2023-09-20 11:53:08 -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 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
rpc_behavior_lb_policy.cc [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -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 [grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - GPR_ASSERT (#36222) 2024-04-09 21:32:34 -07:00
xds_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
xds_interop_server.cc [CSM] De-experimentalize CsmObservability API (#35836) 2024-02-09 09:28:18 -08: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 [xDS Interop] Use XdsServerBuilder when testing CSM Observability (#35634) 2024-01-23 22:33:57 -08: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 Internal change 2023-11-27 21:41:47 +00: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}