Skip to content

Commit

Permalink
grpc-js-xds: Enable fault injection feature by default
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Aug 31, 2021
1 parent a6318a4 commit 2efe091
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/grpc-js-xds/scripts/xds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion packages/grpc-js-xds/src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit 2efe091

Please sign in to comment.