|
|
|
@ -77,7 +77,6 @@ class XdsKubernetesTestCase(absltest.TestCase, metaclass=abc.ABCMeta): |
|
|
|
|
server_runner: KubernetesServerRunner |
|
|
|
|
server_xds_port: int |
|
|
|
|
td: TrafficDirectorManager |
|
|
|
|
config_scope: str |
|
|
|
|
|
|
|
|
|
@staticmethod |
|
|
|
|
def isSupported(config: skips.TestConfig) -> bool: |
|
|
|
@ -150,12 +149,6 @@ class XdsKubernetesTestCase(absltest.TestCase, metaclass=abc.ABCMeta): |
|
|
|
|
logger.info('Test run resource prefix: %s, suffix: %s', |
|
|
|
|
self.resource_prefix, self.resource_suffix) |
|
|
|
|
|
|
|
|
|
if xds_flags.CONFIG_SCOPE.value is not None: |
|
|
|
|
self.config_scope = xds_flags.CONFIG_SCOPE.value + "-" + framework.helpers.rand.random_resource_suffix( |
|
|
|
|
) |
|
|
|
|
else: |
|
|
|
|
self.config_scope = None |
|
|
|
|
|
|
|
|
|
# TD Manager |
|
|
|
|
self.td = self.initTrafficDirectorManager() |
|
|
|
|
|
|
|
|
@ -477,7 +470,6 @@ class RegularXdsKubernetesTestCase(XdsKubernetesTestCase): |
|
|
|
|
gcp_service_account=self.gcp_service_account, |
|
|
|
|
xds_server_uri=self.xds_server_uri, |
|
|
|
|
network=self.network, |
|
|
|
|
config_scope=self.config_scope, |
|
|
|
|
debug_use_port_forwarding=self.debug_use_port_forwarding, |
|
|
|
|
enable_workload_identity=self.enable_workload_identity, |
|
|
|
|
stats_port=self.client_port, |
|
|
|
@ -517,7 +509,6 @@ class AppNetXdsKubernetesTestCase(RegularXdsKubernetesTestCase): |
|
|
|
|
resource_prefix=self.resource_prefix, |
|
|
|
|
resource_suffix=self.resource_suffix, |
|
|
|
|
network=self.network, |
|
|
|
|
config_scope=self.config_scope, |
|
|
|
|
compute_api_version=self.compute_api_version) |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -579,7 +570,6 @@ class SecurityXdsKubernetesTestCase(XdsKubernetesTestCase): |
|
|
|
|
gcp_service_account=self.gcp_service_account, |
|
|
|
|
xds_server_uri=self.xds_server_uri, |
|
|
|
|
network=self.network, |
|
|
|
|
config_scope=self.config_scope, |
|
|
|
|
deployment_template='client-secure.deployment.yaml', |
|
|
|
|
stats_port=self.client_port, |
|
|
|
|
reuse_namespace=self.server_namespace == self.client_namespace, |
|
|
|
|