You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ab...@apache.org on 2020/04/01 14:57:32 UTC

[nifi-minifi-cpp] branch master updated: MINIFICPP-1185 - fix failing test

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 b7aa67d  MINIFICPP-1185 - fix failing test
b7aa67d is described below

commit b7aa67d98a37073644efd92ca607ddaa01730596
Author: Arpad Boda <ab...@apache.org>
AuthorDate: Wed Apr 1 13:19:36 2020 +0200

    MINIFICPP-1185 - fix failing test
    
    Signed-off-by: Arpad Boda <ab...@apache.org>
    
    Approved by bakaid and szaszm on GH
    
    This closes #749
---
 libminifi/test/unit/MinifiConcurrentQueueTests.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libminifi/test/unit/MinifiConcurrentQueueTests.cpp b/libminifi/test/unit/MinifiConcurrentQueueTests.cpp
index aed2743..c28885c 100644
--- a/libminifi/test/unit/MinifiConcurrentQueueTests.cpp
+++ b/libminifi/test/unit/MinifiConcurrentQueueTests.cpp
@@ -80,6 +80,8 @@ TEST_CASE("TestConditionConqurrentQueue::testQueue", "[TestConditionQueue]") {
 
   producer.join();
 
+  std::this_thread::sleep_for(std::chrono::milliseconds(10));
+
   queue.stop();
 
   consumer.join();