You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/01/28 16:51:26 UTC

[GitHub] [nifi-minifi-cpp] szaszm commented on a change in pull request #980: MINIFICPP-1459 Cleanup temporary test directories

szaszm commented on a change in pull request #980:
URL: https://github.com/apache/nifi-minifi-cpp/pull/980#discussion_r566248281



##########
File path: extensions/standard-processors/tests/unit/TailFileTests.cpp
##########
@@ -85,9 +86,7 @@ TEST_CASE("TailFile reads the file until the first delimiter", "[simple]") {
   auto id = tailfile->getUUIDStr();
   plan->addProcessor("LogAttribute", "logattribute", core::Relationship("success", "description"), true);
 
-  char format[] = "/var/tmp/gt.XXXXXX";
-  auto dir = testController.createTempDirectory(format);
-
+  auto dir = minifi::utils::createTempDir(&testController);

Review comment:
       :+1: 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org