mirror of https://github.com/grpc/grpc-node.git
grpc-js-xds: Expose admin service in interop client, enable CSDS test
This commit is contained in:
parent
858d1b66ad
commit
adc25c25f3
|
@ -404,6 +404,7 @@ function main() {
|
||||||
const server = new grpc.Server();
|
const server = new grpc.Server();
|
||||||
server.addService(loadedProto.grpc.testing.LoadBalancerStatsService.service, loadBalancerStatsServiceImpl);
|
server.addService(loadedProto.grpc.testing.LoadBalancerStatsService.service, loadBalancerStatsServiceImpl);
|
||||||
server.addService(loadedProto.grpc.testing.XdsUpdateClientConfigureService.service, xdsUpdateClientConfigureServiceImpl);
|
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) => {
|
server.bindAsync(`0.0.0.0:${argv.stats_port}`, grpc.ServerCredentials.createInsecure(), (error, port) => {
|
||||||
if (error) {
|
if (error) {
|
||||||
throw error;
|
throw error;
|
||||||
|
|
|
@ -52,7 +52,7 @@ GRPC_NODE_TRACE=xds_client,xds_resolver,cds_balancer,eds_balancer,priority,weigh
|
||||||
GRPC_NODE_VERBOSITY=DEBUG \
|
GRPC_NODE_VERBOSITY=DEBUG \
|
||||||
NODE_XDS_INTEROP_VERBOSITY=1 \
|
NODE_XDS_INTEROP_VERBOSITY=1 \
|
||||||
python3 grpc/tools/run_tests/run_xds_tests.py \
|
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 \
|
--project_id=grpc-testing \
|
||||||
--source_image=projects/grpc-testing/global/images/xds-test-server-4 \
|
--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 \
|
--path_to_server_binary=/java_server/grpc-java/interop-testing/build/install/grpc-interop-testing/bin/xds-test-server \
|
||||||
|
|
Loading…
Reference in New Issue