grpc-js-xds: Enable fault injection feature by default

This commit is contained in:
Michael Lumish 2021-08-31 11:45:15 -07:00
parent a6318a4d34
commit 2efe0918a8
2 changed files with 1 additions and 2 deletions

View File

@ -51,7 +51,6 @@ grpc/tools/run_tests/helper_scripts/prep_xds.sh
GRPC_NODE_TRACE=xds_client,xds_resolver,cds_balancer,eds_balancer,priority,weighted_target,round_robin,resolving_load_balancer,subchannel,keepalive,dns_resolver,fault_injection,http_filter \
GRPC_NODE_VERBOSITY=DEBUG \
NODE_XDS_INTEROP_VERBOSITY=1 \
GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION=1 \
python3 grpc/tools/run_tests/run_xds_tests.py \
--test_case="all,timeout,circuit_breaking,fault_injection" \
--project_id=grpc-testing \

View File

@ -15,4 +15,4 @@
*
*/
export const EXPERIMENTAL_FAULT_INJECTION = process.env.GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION;
export const EXPERIMENTAL_FAULT_INJECTION = (process.env.GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION ?? 'true') === 'true';