Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
stanley-cheung committed Jun 5, 2024
1 parent 442fdea commit 64fcc69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/app_net_csm_observability_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,7 @@ class AppNetCsmObservabilityTest(xds_k8s_testcase.AppNetXdsKubernetesTestCase):

@staticmethod
def is_supported(config: skips.TestConfig) -> bool:
if config.client_lang == _Lang.CPP and config.server_lang == _Lang.CPP:
# CSM Observability Test is only supported for CPP for now.
if config.client_lang == _Lang.CPP:
return config.version_gte("v1.62.x")
return False

Expand Down
3 changes: 1 addition & 2 deletions tests/gamma/csm_observability_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@
GammaServerRunner = gamma_server_runner.GammaServerRunner
ClientDeploymentArgs = k8s_xds_client_runner.ClientDeploymentArgs
KubernetesClientRunner = k8s_xds_client_runner.KubernetesClientRunner
ServerDeploymentArgs = k8s_xds_server_runner.ServerDeploymentArgs
BuildQueryFn = Callable[[str, str], str]
ANY = unittest.mock.ANY

Expand Down Expand Up @@ -201,7 +200,7 @@ def initKubernetesClientRunner(self, **kwargs) -> KubernetesClientRunner:
# each run().
def initKubernetesServerRunner(self, **kwargs) -> GammaServerRunner:
return super().initKubernetesServerRunner(
deployment_args=ServerDeploymentArgs(
deployment_args=gamma_server_runner.ServerDeploymentArgs(
enable_csm_observability=True,
csm_workload_name=CSM_WORKLOAD_NAME_SERVER,
csm_canonical_service_name=CSM_CANONICAL_SERVICE_NAME_SERVER,
Expand Down

0 comments on commit 64fcc69

Please sign in to comment.