From 64ad0111b35f44ca72a4d1325a1c6afb4fff835d Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Tue, 10 Aug 2021 14:34:13 -0700 Subject: [PATCH] Enable TD URL configuration in url-map tests (#26961) --- .../framework/xds_url_map_test_resources.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py b/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py index 433106e3e5d..4cdd14e3ad6 100644 --- a/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py +++ b/tools/run_tests/xds_k8s_test_driver/framework/xds_url_map_test_resources.py @@ -182,6 +182,7 @@ class GcpResourceManager(metaclass=_MetaSingletonAndAbslFlags): gcp_api_manager=self.gcp_api_manager, gcp_service_account=self.gcp_service_account, td_bootstrap_image=self.td_bootstrap_image, + xds_server_uri=self.xds_server_uri, network=self.network, debug_use_port_forwarding=self.debug_use_port_forwarding, stats_port=self.client_port, @@ -195,6 +196,7 @@ class GcpResourceManager(metaclass=_MetaSingletonAndAbslFlags): gcp_api_manager=self.gcp_api_manager, gcp_service_account=self.gcp_service_account, td_bootstrap_image=self.td_bootstrap_image, + xds_server_uri=self.xds_server_uri, network=self.network) self.test_server_alternative_runner = server_app.KubernetesServerRunner( self.k8s_namespace, @@ -204,6 +206,7 @@ class GcpResourceManager(metaclass=_MetaSingletonAndAbslFlags): gcp_api_manager=self.gcp_api_manager, gcp_service_account=self.gcp_service_account, td_bootstrap_image=self.td_bootstrap_image, + xds_server_uri=self.xds_server_uri, network=self.network, reuse_namespace=True) self.test_server_affinity_runner = server_app.KubernetesServerRunner( @@ -214,6 +217,7 @@ class GcpResourceManager(metaclass=_MetaSingletonAndAbslFlags): gcp_api_manager=self.gcp_api_manager, gcp_service_account=self.gcp_service_account, td_bootstrap_image=self.td_bootstrap_image, + xds_server_uri=self.xds_server_uri, network=self.network, reuse_namespace=True) logging.info('Strategy of GCP resources management: %s', self.strategy)