فهرست منبع

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.
         been received as confirmed by the TD team.
         """
         """
         # Create backend service
         # 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
         # Start server and attach its NEGs to the backend service, but
         # until they become healthy.
         # 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`.
         The order of operations is the same as in `test_mtls_error`.
         """
         """
         # Create backend service
         # 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
         # Start server and attach its NEGs to the backend service, but
         # until they become healthy.
         # until they become healthy.