aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-04-16 12:52:42 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-04-16 12:52:42 -0500
commitd544fd0f52818de0cf3e150f78673f45cddf906e (patch)
tree99daab09c934afb80b39b68d4ef0e1bc3c891718
parentMerge pull request #7652 (diff)
parentunit_tests: fix boost 1.58 compatibility (diff)
downloadmonero-d544fd0f52818de0cf3e150f78673f45cddf906e.tar.xz
Merge pull request #7653
73d3b00 unit_tests: fix boost 1.58 compatibility (anon)
-rw-r--r--tests/unit_tests/node_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp
index 8d5c784eb..775feace8 100644
--- a/tests/unit_tests/node_server.cpp
+++ b/tests/unit_tests/node_server.cpp
@@ -351,7 +351,7 @@ TEST(cryptonote_protocol_handler, race_condition)
acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true));
acceptor.bind(endpoint, ec);
EXPECT_EQ(ec.value(), 0);
- acceptor.listen(boost::asio::socket_base::max_listen_connections, ec);
+ acceptor.listen(boost::asio::socket_base::max_connections, ec);
EXPECT_EQ(ec.value(), 0);
out->socket().open(endpoint.protocol(), ec);
EXPECT_EQ(ec.value(), 0);