Skip to content

Commit

Permalink
fix pylint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Feb 1, 2024
1 parent 5321ac4 commit 5ec7a01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions framework/xds_k8s_testcase.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def initTrafficDirectorManager(self) -> TrafficDirectorSecureManager:
compute_api_version=self.compute_api_version,
)

def initKubernetesServerRunner(self) -> KubernetesServerRunner:
def initKubernetesServerRunner(self, **kwargs) -> KubernetesServerRunner:
return KubernetesServerRunner(
k8s.KubernetesNamespace(
self.k8s_api_manager, self.server_namespace
Expand All @@ -921,9 +921,10 @@ def initKubernetesServerRunner(self) -> KubernetesServerRunner:
xds_server_uri=self.xds_server_uri,
deployment_template="server-secure.deployment.yaml",
debug_use_port_forwarding=self.debug_use_port_forwarding,
**kwargs,
)

def initKubernetesClientRunner(self) -> KubernetesClientRunner:
def initKubernetesClientRunner(self, **kwargs) -> KubernetesClientRunner:
return KubernetesClientRunner(
k8s.KubernetesNamespace(
self.k8s_api_manager, self.client_namespace
Expand All @@ -940,6 +941,7 @@ def initKubernetesClientRunner(self) -> KubernetesClientRunner:
stats_port=self.client_port,
reuse_namespace=self.server_namespace == self.client_namespace,
debug_use_port_forwarding=self.debug_use_port_forwarding,
**kwargs,
)

def startSecureTestServer(self, replica_count=1, **kwargs) -> XdsTestServer:
Expand Down

0 comments on commit 5ec7a01

Please sign in to comment.