diff --git a/controllers/tests/kafkacluster_controller_envoy_test.go b/controllers/tests/kafkacluster_controller_envoy_test.go index 2fc2bb4b6..60176badb 100644 --- a/controllers/tests/kafkacluster_controller_envoy_test.go +++ b/controllers/tests/kafkacluster_controller_envoy_test.go @@ -1359,7 +1359,7 @@ func expectEnvoyWithConfigAz2Tls(kafkaCluster *v1beta1.KafkaCluster) { }, corev1.ContainerPort{ Name: "tcp-health", - ContainerPort: kafkaCluster.Spec.EnvoyConfig.GetEnvoyAdminPort(), + ContainerPort: kafkaCluster.Spec.EnvoyConfig.GetEnvoyHealthCheckPort(), Protocol: corev1.ProtocolTCP, }, ))