hunyadi-dev commented on a change in pull request #835:
URL: https://github.com/apache/nifi-minifi-cpp/pull/835#discussion_r458091803



##########
File path: extensions/http-curl/tests/C2UpdateAgentTest.cpp
##########
@@ -34,6 +34,6 @@ int main(int argc, char **argv) {
 
   const auto then = std::chrono::system_clock::now();
   const auto seconds = std::chrono::duration_cast<std::chrono::seconds>(then - 
start).count();
-  assert(handler.calls_ <= (seconds) + 1);
+  assert(handler.calls_ <= (seconds) + 2);

Review comment:
       Some libcurl black magic we do not understand. I could not figure it out 
but shared the problem with a group of contributors on Slack. I verified the 
logs and the events happening are what we expect, but curl immediately triggers 
the POST handle on the Civet Server twice. It was probably an issue beforehand 
masked by the long waiting time.




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