diff options
author | anon <anon [at] nowhere> | 2021-04-08 11:45:26 +0000 |
---|---|---|
committer | anon <anon [at] nowhere> | 2021-04-08 11:45:26 +0000 |
commit | df032882a8c27bbc21a5ff8cfc3533c32f231d48 (patch) | |
tree | e51c2219d18c5c77cb40322289779ae8ea60779d /tests | |
parent | Merge pull request #7647 (diff) | |
download | monero-df032882a8c27bbc21a5ff8cfc3533c32f231d48.tar.xz |
unit_tests: fix boost 1.58 compatibility
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/node_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index 5ad0f72e8..8fc086a38 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -352,7 +352,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); |