Skip to content

Commit

Permalink
Fix unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
shibd committed Jan 13, 2023
1 parent 7d6168c commit a94f422
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/ConsumerTest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -902,9 +902,8 @@ TEST(ConsumerTest, testRedeliveryOfDecryptionFailedMessages) {
std::string topicName = "testRedeliveryOfDecryptionFailedMessages" + std::to_string(time(nullptr));
std::string subName = "sub-test";

// TODO remove ../
std::string PUBLIC_CERT_FILE_PATH = "../../test-conf//public-key.client-rsa.pem";
std::string PRIVATE_CERT_FILE_PATH = "../../test-conf//private-key.client-rsa.pem";
std::string PUBLIC_CERT_FILE_PATH = "../test-conf//public-key.client-rsa.pem";
std::string PRIVATE_CERT_FILE_PATH = "../test-conf//private-key.client-rsa.pem";
std::shared_ptr<pulsar::DefaultCryptoKeyReader> keyReader =
std::make_shared<pulsar::DefaultCryptoKeyReader>(PUBLIC_CERT_FILE_PATH, PRIVATE_CERT_FILE_PATH);

Expand Down

0 comments on commit a94f422

Please sign in to comment.