From 61e5b54537669c1c38dd1f796704a8e41ef153f5 Mon Sep 17 00:00:00 2001 From: Y-Rookie Date: Thu, 24 Oct 2024 17:52:00 +0800 Subject: [PATCH] add kafka server setup ut --- addons/kafka/scripts-ut-spec/kafka_server_setup_spec.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/addons/kafka/scripts-ut-spec/kafka_server_setup_spec.sh b/addons/kafka/scripts-ut-spec/kafka_server_setup_spec.sh index 10f7ed8c3..cf5b9fc26 100644 --- a/addons/kafka/scripts-ut-spec/kafka_server_setup_spec.sh +++ b/addons/kafka/scripts-ut-spec/kafka_server_setup_spec.sh @@ -94,8 +94,6 @@ Describe "Kafka Server Setup Script Tests" touch $mock_tls_cert_path/tls.key When run set_tls_configuration_if_needed The output should include "[tls]KAFKA_TLS_TRUSTSTORE_FILE=$mock_tls_cert_path/kafka.truststore.pem" - # hack the error from openssl - The stderr should include "Could not find private key of key from" The status should be success End @@ -160,8 +158,6 @@ Describe "Kafka Server Setup Script Tests" touch "$KB_KAFKA_SASL_CONFIG_PATH" When run override_sasl_configuration The output should include "[sasl]KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CONTROLLER:PLAINTEXT,INTERNAL:SASL_PLAINTEXT,CLIENT:SASL_PLAINTEXT" - # mock the error from cp - The stderr should include "cp: ./config/kafka_jaas.conf and ./config/kafka_jaas.conf are identical" The status should be success End