From 13b28df0fc0c4893c2b8f9fec8dfcbac73322876 Mon Sep 17 00:00:00 2001
From: Nicolas Pope <nicolas.pope@utu.fi>
Date: Wed, 11 May 2022 08:57:47 +0100
Subject: [PATCH] Improve net int test resilience

---
 test/net_integration.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/net_integration.cpp b/test/net_integration.cpp
index 097f2de..a47be33 100644
--- a/test/net_integration.cpp
+++ b/test/net_integration.cpp
@@ -100,7 +100,7 @@ TEST_CASE("Listen and Connect", "[net]") {
 			node->close();
 		}
 
-		bool r = try_for(500, [p_connecting]{ return p_connecting->connectionCount() == 2; });
+		bool r = try_for(500, [p_connecting]{ return p_connecting->connectionCount() >= 2; });
 		REQUIRE( r );
 	}
 
-- 
GitLab