Skip to content

Commit f77cebe

Browse files
authored
Merge pull request #1890 from murgatroid99/grpc-js-xds_fault_injection_default
grpc-js-xds: Enable fault injection feature by default
2 parents 087bc3e + 2efe091 commit f77cebe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/grpc-js-xds/scripts/xds.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ grpc/tools/run_tests/helper_scripts/prep_xds.sh
5151
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 \
5252
GRPC_NODE_VERBOSITY=DEBUG \
5353
NODE_XDS_INTEROP_VERBOSITY=1 \
54-
GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION=1 \
5554
python3 grpc/tools/run_tests/run_xds_tests.py \
5655
--test_case="all,timeout,circuit_breaking,fault_injection" \
5756
--project_id=grpc-testing \

packages/grpc-js-xds/src/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
*
1616
*/
1717

18-
export const EXPERIMENTAL_FAULT_INJECTION = process.env.GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION;
18+
export const EXPERIMENTAL_FAULT_INJECTION = (process.env.GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION ?? 'true') === 'true';

0 commit comments

Comments
 (0)