pull/23911/head
Eric Gribkoff 4 years ago
parent bbe880c0a2
commit 8c97bc639c
  1. 3
      tools/run_tests/run_xds_tests.py

@ -593,7 +593,8 @@ def test_round_robin(gcp, backend_service, instance_group):
continue
expected_requests = total_requests_received / len(instance_names)
for instance in instance_names:
if abs(stats.rpcs_by_peer[instance] - expected_requests) > threshold:
if abs(stats.rpcs_by_peer[instance] -
expected_requests) > threshold:
raise Exception(
'RPC peer distribution differs from expected by more than %d '
'for instance %s (%s)' % (threshold, instance, stats))

Loading…
Cancel
Save