diff --git a/test/net_integration.cpp b/test/net_integration.cpp index 097f2def844165e98c38a0a32e057efd5cdb7dbe..a47be33469008011f4c7fd1502ad8fa526f0778e 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 ); }