szaszm commented on code in PR #1738:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1738#discussion_r1523602600


##########
extensions/rocksdb-repos/tests/RepoTests.cpp:
##########
@@ -781,4 +781,69 @@ TEST_CASE("Content repositories are always running", 
"[TestRepoIsRunning]") {
   REQUIRE(content_repo->isRunning());
 }
 
+std::shared_ptr<minifi::FlowFileRecord> 
createFlowFileWithContent(core::ContentRepository& content_repo, 
std::string_view content) {
+  auto flow_file = std::make_shared<minifi::FlowFileRecord>();
+  const auto content_session = content_repo.createSession();
+  const auto claim = content_session->create();
+  const auto stream = content_session->write(claim);
+
+  stream->write(utils::as_span<const std::byte>(std::span(content));

Review Comment:
   The CI fails because of a missing parenthesis here.
   ```suggestion
     stream->write(utils::as_span<const std::byte>(std::span(content)));
   ```



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

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

Reply via email to