Skip to content

Commit 345ceaf

Browse files
committed
Fixed paths
1 parent 5142eb1 commit 345ceaf

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/AuthPluginTest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static const std::string serviceUrlHttps = "https://localhost:8443";
3838

3939
static const std::string caPath = "../test-conf/cacert.pem";
4040
static const std::string clientPublicKeyPath = "../test-conf/client-cert.pem";
41-
static const std::string clientPrivateKeyPath = "../test-confclient-key.pem";
41+
static const std::string clientPrivateKeyPath = "../test-conf/client-key.pem";
4242

4343
static void sendCallBackTls(Result r, const MessageId& msgId) {
4444
ASSERT_EQ(r, ResultOk);

tests/BasicEndToEndTest.cc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,11 +1445,9 @@ TEST(BasicEndToEndTest, testEncryptionFailure) {
14451445

14461446
// 2. Add valid key
14471447
{
1448-
PUBLIC_CERT_FILE_PATH =
1449-
"../../pulsar-broker/src/test/resources/certificate/public-key.client-rsa.pem";
1448+
PUBLIC_CERT_FILE_PATH = "../test-conf/public-key.client-rsa.pem";
14501449

1451-
PRIVATE_CERT_FILE_PATH =
1452-
"../../pulsar-broker/src/test/resources/certificate/private-key.client-rsa.pem";
1450+
PRIVATE_CERT_FILE_PATH = "../test-conf/private-key.client-rsa.pem";
14531451
keyReader =
14541452
std::make_shared<pulsar::DefaultCryptoKeyReader>(PUBLIC_CERT_FILE_PATH, PRIVATE_CERT_FILE_PATH);
14551453
ProducerConfiguration prodConf;

0 commit comments

Comments
 (0)