testing: allow 10m for first xds fault_injection case (#25779)

pull/25788/head
Doug Fawley 4 years ago committed by GitHub
parent 1040fbdb9f
commit e5829de296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tools/run_tests/run_xds_tests.py

@ -1706,6 +1706,7 @@ def test_fault_injection(gcp, original_backend_service, instance_group):
]
try:
first_case = True
for (testcase_name, client_config, expected_results) in test_cases:
logger.info('starting case %s', testcase_name)
@ -1725,6 +1726,9 @@ def test_fault_injection(gcp, original_backend_service, instance_group):
# Each attempt takes 10 seconds; 20 attempts is equivalent to 200
# second timeout.
attempt_count = 20
if first_case:
attempt_count = 120
first_case = False
before_stats = get_client_accumulated_stats()
if not before_stats.stats_per_method:
raise ValueError(

Loading…
Cancel
Save