From a94f422291fb94fda458c0cad1e7b12aa9741097 Mon Sep 17 00:00:00 2001 From: Baodi Shi Date: Thu, 29 Dec 2022 09:45:25 +0800 Subject: [PATCH] Fix unit test. --- tests/ConsumerTest.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/ConsumerTest.cc b/tests/ConsumerTest.cc index 06c6bc94..666ef71e 100644 --- a/tests/ConsumerTest.cc +++ b/tests/ConsumerTest.cc @@ -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 keyReader = std::make_shared(PUBLIC_CERT_FILE_PATH, PRIVATE_CERT_FILE_PATH);