This is an automated email from the ASF dual-hosted git repository.

adebreceni pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 69a4c335104e8ba1f63ed6edc7248eb7d48c4788
Author: Gabor Gyimesi <[email protected]>
AuthorDate: Mon Dec 5 13:44:54 2022 +0100

    MINIFICPP-2003 Fix PutTCPTests platform dependent message check
    
    Signed-off-by: Adam Debreceni <[email protected]>
    
    This closes #1464
---
 extensions/standard-processors/tests/unit/PutTCPTests.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extensions/standard-processors/tests/unit/PutTCPTests.cpp 
b/extensions/standard-processors/tests/unit/PutTCPTests.cpp
index f44e0586a..3396a50b4 100644
--- a/extensions/standard-processors/tests/unit/PutTCPTests.cpp
+++ b/extensions/standard-processors/tests/unit/PutTCPTests.cpp
@@ -414,7 +414,8 @@ TEST_CASE("PutTCP test non-routable server", "[PutTCP]") {
 
   CHECK((LogTestController::getInstance().contains("Connection timed out", 0ms)
       || LogTestController::getInstance().contains("Operation timed out", 0ms)
-      || LogTestController::getInstance().contains("host has failed to 
respond", 0ms)));
+      || LogTestController::getInstance().contains("host has failed to 
respond", 0ms)
+      || LogTestController::getInstance().contains("No route to host", 0ms)));
 }
 
 TEST_CASE("PutTCP test invalid server cert", "[PutTCP]") {

Reply via email to