xds testing: set fault injection env var, so the test can be turned on (#25735)

Note that this doesn't turn on the tests. The tests needs to be turned on in the kokoro shell scripts.
pull/25745/head
Menghan Li 4 years ago committed by GitHub
parent 3bc612374c
commit 74b767d72c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      tools/run_tests/run_xds_tests.py

@ -2595,12 +2595,7 @@ try:
client_env['GRPC_XDS_BOOTSTRAP'] = bootstrap_path
client_env['GRPC_XDS_EXPERIMENTAL_CIRCUIT_BREAKING'] = 'true'
client_env['GRPC_XDS_EXPERIMENTAL_ENABLE_TIMEOUT'] = 'true'
# Temporarily turn off fault injection, because HTTPFault filter isn't
# handled correctly yet in CPP and Go. And setting would break all the
# other tests. Uncomment the following line when the support is
# complete.
#
# client_env['GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION'] = 'true'
client_env['GRPC_XDS_EXPERIMENTAL_FAULT_INJECTION'] = 'true'
test_results = {}
failed_tests = []
for test_case in args.test_case:

Loading…
Cancel
Save