Skip to content

Commit

Permalink
Merge pull request #23248 from ericgribkoff/use_grpc_health_check
Browse files Browse the repository at this point in the history
Use grpc health checks for PHP and Ruby xDS tests
  • Loading branch information
ericgribkoff committed Jun 18, 2020
2 parents 80f0c33 + d74e52a commit ea6c185
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion tools/internal_ci/linux/grpc_xds_php_test_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,5 @@ GRPC_VERBOSITY=debug GRPC_TRACE=xds_client,xds_resolver,xds_routing_lb,cds_lb,ed
--source_image=projects/grpc-testing/global/images/xds-test-server \
--path_to_server_binary=/java_server/grpc-java/interop-testing/build/install/grpc-interop-testing/bin/xds-test-server \
--gcp_suffix=$(date '+%s') \
--only_stable_gcp_apis \
--verbose \
--client_cmd='php -d extension=grpc.so -d extension=pthreads.so src/php/tests/interop/xds_client.php --server=xds:///{server_uri} --stats_port={stats_port} --qps={qps}'
1 change: 0 additions & 1 deletion tools/internal_ci/linux/grpc_xds_ruby_test_in_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,5 @@ GRPC_VERBOSITY=debug GRPC_TRACE=xds_client,xds_resolver,xds_routing_lb,cds_lb,ed
--source_image=projects/grpc-testing/global/images/xds-test-server \
--path_to_server_binary=/java_server/grpc-java/interop-testing/build/install/grpc-interop-testing/bin/xds-test-server \
--gcp_suffix=$(date '+%s') \
--only_stable_gcp_apis \
--verbose \
--client_cmd='ruby src/ruby/pb/test/xds_client.rb --server=xds:///{server_uri} --stats_port={stats_port} --qps={qps}'
6 changes: 5 additions & 1 deletion tools/run_tests/run_xds_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,12 @@ def parse_port_range(port_arg):
help='Log captured client output',
default=False,
action='store_true')
# TODO(ericgribkoff) Remove this flag once all test environments are verified to
# have access to the alpha compute APIs.
argp.add_argument('--only_stable_gcp_apis',
help='Do not use alpha compute APIs',
help='Do not use alpha compute APIs. Some tests may be '
'incompatible with this option (gRPC health checks are '
'currently alpha and required for simulating server failure',
default=False,
action='store_true')
args = argp.parse_args()
Expand Down

0 comments on commit ea6c185

Please sign in to comment.