grpc-js-xds: Expose admin service in interop client, enable CSDS test

This commit is contained in:
Michael Lumish 2021-12-02 16:21:19 -05:00
parent 858d1b66ad
commit adc25c25f3
2 changed files with 2 additions and 1 deletions

View File

@ -404,6 +404,7 @@ function main() {
const server = new grpc.Server();
server.addService(loadedProto.grpc.testing.LoadBalancerStatsService.service, loadBalancerStatsServiceImpl);
server.addService(loadedProto.grpc.testing.XdsUpdateClientConfigureService.service, xdsUpdateClientConfigureServiceImpl);
grpc.addAdminServicesToServer(server);
server.bindAsync(`0.0.0.0:${argv.stats_port}`, grpc.ServerCredentials.createInsecure(), (error, port) => {
if (error) {
throw error;

View File

@ -52,7 +52,7 @@ GRPC_NODE_TRACE=xds_client,xds_resolver,cds_balancer,eds_balancer,priority,weigh
GRPC_NODE_VERBOSITY=DEBUG \
NODE_XDS_INTEROP_VERBOSITY=1 \
python3 grpc/tools/run_tests/run_xds_tests.py \
--test_case="all,timeout,circuit_breaking,fault_injection" \
--test_case="all,timeout,circuit_breaking,fault_injection,csds" \
--project_id=grpc-testing \
--source_image=projects/grpc-testing/global/images/xds-test-server-4 \
--path_to_server_binary=/java_server/grpc-java/interop-testing/build/install/grpc-interop-testing/bin/xds-test-server \