You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by lo...@apache.org on 2024/11/19 09:09:25 UTC

(nifi-minifi-cpp) 03/04: Add test logs

This is an automated email from the ASF dual-hosted git repository.

lordgamez pushed a commit to branch MINIFICPP-2469
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 0c23c85a8a1e18356f4ebba3267a8e2ed977574d
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Tue Oct 22 14:11:18 2024 +0200

    Add test logs
---
 extensions/couchbase/tests/GetCouchbaseKeyTests.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/extensions/couchbase/tests/GetCouchbaseKeyTests.cpp b/extensions/couchbase/tests/GetCouchbaseKeyTests.cpp
index 69f84aa06..d518ace03 100644
--- a/extensions/couchbase/tests/GetCouchbaseKeyTests.cpp
+++ b/extensions/couchbase/tests/GetCouchbaseKeyTests.cpp
@@ -38,6 +38,11 @@ struct ExpectedCallOptions {
 class GetCouchbaseKeyTestController : public TestController {
  public:
   GetCouchbaseKeyTestController() {
+    LogTestController::getInstance().setDebug<TestPlan>();
+    LogTestController::getInstance().setDebug<minifi::core::Processor>();
+    LogTestController::getInstance().setTrace<minifi::core::ProcessSession>();
+    LogTestController::getInstance().setDebug<controllers::CouchbaseClusterService>();
+    LogTestController::getInstance().setDebug<processors::GetCouchbaseKey>();
     auto controller_service_node = controller_.plan->addController("MockCouchbaseClusterService", "MockCouchbaseClusterService");
     mock_couchbase_cluster_service_ = std::static_pointer_cast<MockCouchbaseClusterService>(controller_service_node->getControllerServiceImplementation());
     proc_->setProperty(processors::GetCouchbaseKey::CouchbaseClusterControllerService, "MockCouchbaseClusterService");