From 34026a98c0c4fb5655e2b5eb5c82404afa097d0c Mon Sep 17 00:00:00 2001 From: rangao Date: Thu, 7 Dec 2023 20:10:37 +0800 Subject: [PATCH] remove non-existing and uesless methods --- .../org/apache/pulsar/broker/service/ReplicatorTestBase.java | 5 ----- .../java/org/apache/pulsar/broker/service/ServerCnxTest.java | 1 - 2 files changed, 6 deletions(-) diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTestBase.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTestBase.java index 1aa3c2c66046b..824af6b71e317 100644 --- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTestBase.java +++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorTestBase.java @@ -248,13 +248,8 @@ protected void setup() throws Exception { .brokerServiceUrl(pulsar4.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar4.getBrokerServiceUrlTls()) .brokerClientTlsEnabled(true) - .brokerClientCertificateFilePath(clientCertFilePath) - .brokerClientKeyFilePath(clientKeyFilePath) .brokerClientTrustCertsFilePath(caCertFilePath) .brokerClientTlsEnabledWithKeyStore(tlsWithKeyStore) - .brokerClientTlsKeyStore(clientKeyStorePath) - .brokerClientTlsKeyStorePassword(keyStorePassword) - .brokerClientTlsKeyStoreType(keyStoreType) .brokerClientTlsTrustStore(clientTrustStorePath) .brokerClientTlsTrustStorePassword(keyStorePassword) .brokerClientTlsTrustStoreType(keyStoreType) diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ServerCnxTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ServerCnxTest.java index 09428db2b1cb2..1bff6602f91a9 100644 --- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ServerCnxTest.java +++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ServerCnxTest.java @@ -123,7 +123,6 @@ import org.apache.pulsar.common.api.proto.CommandProducerSuccess; import org.apache.pulsar.common.api.proto.CommandSendError; import org.apache.pulsar.common.api.proto.CommandSendReceipt; -import org.apache.pulsar.common.api.proto.CommandSubscribe; import org.apache.pulsar.common.api.proto.CommandSubscribe.InitialPosition; import org.apache.pulsar.common.api.proto.CommandSubscribe.SubType; import org.apache.pulsar.common.api.proto.CommandSuccess;