This is an automated email from the ASF dual-hosted git repository.
aboda pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 702617e MINIFICPP-1072 - Fixed temporary path for GetFileTests on
Windows
702617e is described below
commit 702617e6f3af088a2d3d0ef2f5a6d7ae98319ccf
Author: Andre Araujo <[email protected]>
AuthorDate: Thu Oct 24 16:10:21 2019 +0000
MINIFICPP-1072 - Fixed temporary path for GetFileTests on Windows
Temp dir path was invalid on Windows, causing tests to fail.
Signed-off-by: Arpad Boda <[email protected]>
This closes #668
---
extensions/standard-processors/tests/unit/GetFileTests.cpp | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/extensions/standard-processors/tests/unit/GetFileTests.cpp
b/extensions/standard-processors/tests/unit/GetFileTests.cpp
index a857e73..272b87b 100644
--- a/extensions/standard-processors/tests/unit/GetFileTests.cpp
+++ b/extensions/standard-processors/tests/unit/GetFileTests.cpp
@@ -49,11 +49,8 @@ TEST_CASE("GetFile: MaxSize", "[getFileFifo]") { // NOLINT
REQUIRE(!temp_path.empty());
// Define test input file
- std::string in_file = temp_path + utils::file::FileUtils::get_separator() +
"testfifo";
-
- // Define test input file
- std::string hidden_in_file(in_dir);
- hidden_in_file.append("/.testfifo"); // hidden
+ std::string in_file(temp_path + utils::file::FileUtils::get_separator() +
"testfifo");
+ std::string hidden_in_file(temp_path +
utils::file::FileUtils::get_separator() + ".testfifo");
// Build MiNiFi processing graph