Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
[fix][test][branch-3.0] fix testCleanupEmptySubscriptionAuthenticatio…
Browse files Browse the repository at this point in the history
…nMap (apache#21744)

### Motivation

fix unittest testCleanupEmptySubscriptionAuthenticationMap. getTlsFileForClient method not exist in branch-3.0
  • Loading branch information
TakaHiR07 authored Dec 20, 2023
1 parent 425ff7a commit 5b88f0b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ public void testCleanupEmptyTopicAuthenticationMap() throws Exception {
@Test
public void testCleanupEmptySubscriptionAuthenticationMap() throws Exception {
Map<String, String> authParams = new HashMap<>();
authParams.put("tlsCertFile", getTlsFileForClient("admin.cert"));
authParams.put("tlsKeyFile", getTlsFileForClient("admin.key-pk8"));
authParams.put("tlsCertFile", TLS_CLIENT_CERT_FILE_PATH);
authParams.put("tlsKeyFile", TLS_CLIENT_KEY_FILE_PATH);
Authentication authTls = new AuthenticationTls();
authTls.configure(authParams);
internalSetup(authTls);
Expand Down

0 comments on commit 5b88f0b

Please sign in to comment.