diff --git a/tools/internal_ci/linux/psm-security-python.sh b/tools/internal_ci/linux/psm-security-python.sh index 9866a0ae3d1..166ab498692 100755 --- a/tools/internal_ci/linux/psm-security-python.sh +++ b/tools/internal_ci/linux/psm-security-python.sh @@ -172,8 +172,9 @@ main() { build_docker_images_if_needed # Run tests cd "${TEST_DRIVER_FULL_DIR}" - run_test baseline_test - run_test security_test + # run_test baseline_test + # run_test security_test + # [DO-NOT-MERGE] run_test authz_test } diff --git a/tools/run_tests/xds_k8s_test_driver/tests/authz_test.py b/tools/run_tests/xds_k8s_test_driver/tests/authz_test.py index 47efa4399ab..de7bb5fb0d3 100644 --- a/tools/run_tests/xds_k8s_test_driver/tests/authz_test.py +++ b/tools/run_tests/xds_k8s_test_driver/tests/authz_test.py @@ -15,6 +15,7 @@ import datetime import time from typing import Optional +import unittest from absl import flags from absl.testing import absltest @@ -199,6 +200,7 @@ class AuthzTest(xds_k8s_testcase.SecurityXdsKubernetesTestCase): duration=_SAMPLE_DURATION, method=rpc_type) + @unittest.skip("[DO-NOT-MERGE]") def test_plaintext_allow(self) -> None: self.setupTrafficDirectorGrpc() self.td.create_authz_policy(action='ALLOW', rules=self.authz_rules()) @@ -253,6 +255,7 @@ class AuthzTest(xds_k8s_testcase.SecurityXdsKubernetesTestCase): # self.configure_and_assert(test_client, 'principal-present', # grpc.StatusCode.PERMISSION_DENIED) + @unittest.skip("[DO-NOT-MERGE]") def test_tls_allow(self) -> None: self.setupTrafficDirectorGrpc() self.td.create_authz_policy(action='ALLOW', rules=self.authz_rules()) @@ -313,6 +316,7 @@ class AuthzTest(xds_k8s_testcase.SecurityXdsKubernetesTestCase): self.configure_and_assert(test_client, 'never-match-principal', grpc.StatusCode.PERMISSION_DENIED) + @unittest.skip("[DO-NOT-MERGE]") def test_plaintext_deny(self) -> None: self.setupTrafficDirectorGrpc() self.td.create_authz_policy(action='DENY', rules=self.authz_rules())