adamdebreceni commented on a change in pull request #887:
URL: https://github.com/apache/nifi-minifi-cpp/pull/887#discussion_r481941107



##########
File path: libminifi/test/archive-tests/MergeFileTests.cpp
##########
@@ -330,10 +306,8 @@ TEST_CASE("MergeFileDefragmentDelimiter", 
"[mergefiletest2]") {
   
context->setProperty(org::apache::nifi::minifi::processors::MergeContent::Demarcator,
 DEMARCATOR_FILE);
 
   core::ProcessSession sessionGenFlowFile(context);
-  std::shared_ptr<core::FlowFile> record[6];
-
   // Generate 6 flowfiles, first threes merged to one, second thress merged to 
one
-  for (int i = 0; i < 6; i++) {
+  for (const int i : {0, 2, 5, 4, 1, 3}) {

Review comment:
       they are in the order the flowFiles were `put` into the `input` 
connection before




----------------------------------------------------------------
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:
[email protected]


Reply via email to