aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/node_server.cpp
diff options
context:
space:
mode:
authoranon <anon [at] nowhere>2021-04-08 11:45:27 +0000
committeranon <anon [at] nowhere>2021-04-08 11:45:27 +0000
commit73d3b00b35a6fd10aedbde58453173e3087c7a1c (patch)
treed3d9d8e7f536288a7f92f5cef2ffd4be2212ee70 /tests/unit_tests/node_server.cpp
parentMerge pull request #7650 (diff)
downloadmonero-73d3b00b35a6fd10aedbde58453173e3087c7a1c.tar.xz
unit_tests: fix boost 1.58 compatibility
Diffstat (limited to '')
-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);