You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2024/01/26 22:54:38 UTC
(pulsar) 04/11: Revert "[fix][test][branch-3.0] fix testCleanupEmptySubscriptionAuthenticationMap (#21744)"
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 8bab1ecd720ff10bd001daff135b8414c696fc7c
Author: Lari Hotari <lh...@apache.org>
AuthorDate: Sat Jan 27 00:23:52 2024 +0200
Revert "[fix][test][branch-3.0] fix testCleanupEmptySubscriptionAuthenticationMap (#21744)"
This reverts commit 5b88f0b00538ca397b3746e5d8ff629181154ead.
---
.../apache/pulsar/client/api/AuthenticatedProducerConsumerTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/AuthenticatedProducerConsumerTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/client/api/AuthenticatedProducerConsumerTest.java
index 3e34305c244..a189940bee8 100644
--- a/pulsar-broker/src/test/java/org/apache/pulsar/client/api/AuthenticatedProducerConsumerTest.java
+++ b/pulsar-broker/src/test/java/org/apache/pulsar/client/api/AuthenticatedProducerConsumerTest.java
@@ -507,8 +507,8 @@ public class AuthenticatedProducerConsumerTest extends ProducerConsumerBase {
@Test
public void testCleanupEmptySubscriptionAuthenticationMap() throws Exception {
Map<String, String> authParams = new HashMap<>();
- authParams.put("tlsCertFile", TLS_CLIENT_CERT_FILE_PATH);
- authParams.put("tlsKeyFile", TLS_CLIENT_KEY_FILE_PATH);
+ authParams.put("tlsCertFile", getTlsFileForClient("admin.cert"));
+ authParams.put("tlsKeyFile", getTlsFileForClient("admin.key-pk8"));
Authentication authTls = new AuthenticationTls();
authTls.configure(authParams);
internalSetup(authTls);