瀏覽代碼

fixup! xds-k8s driver: switch Backend Health Check from TCP to GRPC

Sergii Tkachenko 4 年之前
父節點
當前提交
e98cd15c2e
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      tools/run_tests/xds_k8s_test_driver/tests/security_test.py

+ 4 - 2
tools/run_tests/xds_k8s_test_driver/tests/security_test.py

@@ -109,7 +109,8 @@ class SecurityTest(xds_k8s_testcase.SecurityXdsKubernetesTestCase):
         been received as confirmed by the TD team.
         """
         # Create backend service
-        self.td.setup_backend_for_grpc()
+        self.td.setup_backend_for_grpc(
+            health_check_port=self.server_maintenance_port)
 
         # Start server and attach its NEGs to the backend service, but
         # until they become healthy.
@@ -145,7 +146,8 @@ class SecurityTest(xds_k8s_testcase.SecurityXdsKubernetesTestCase):
         The order of operations is the same as in `test_mtls_error`.
         """
         # Create backend service
-        self.td.setup_backend_for_grpc()
+        self.td.setup_backend_for_grpc(
+            health_check_port=self.server_maintenance_port)
 
         # Start server and attach its NEGs to the backend service, but
         # until they become healthy.