Merge pull request #24802 from menghanl/xds_case_insensitive

xds testing: add case insensitive path matching
pull/25192/head
Menghan Li 4 years ago committed by GitHub
commit 4286c0de91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      tools/run_tests/run_xds_tests.py

@ -1048,6 +1048,21 @@ def test_path_matching(gcp, original_backend_service, instance_group,
"UnaryCall": alternate_backend_instances,
"EmptyCall": original_backend_instances
}),
(
[{
'priority': 0,
# ignoreCase EmptyCall -> alternate_backend_service.
'matchRules': [{
# Case insensitive matching.
'fullPathMatch': '/gRpC.tEsTinG.tEstseRvice/empTycaLl',
'ignoreCase': True,
}],
'service': alternate_backend_service.url
}],
{
"UnaryCall": original_backend_instances,
"EmptyCall": alternate_backend_instances
}),
]
for (route_rules, expected_instances) in test_cases:

Loading…
Cancel
Save