diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-04-16 12:52:42 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-04-16 12:52:42 -0500 |
commit | d544fd0f52818de0cf3e150f78673f45cddf906e (patch) | |
tree | 99daab09c934afb80b39b68d4ef0e1bc3c891718 /tests | |
parent | Merge pull request #7652 (diff) | |
parent | unit_tests: fix boost 1.58 compatibility (diff) | |
download | monero-d544fd0f52818de0cf3e150f78673f45cddf906e.tar.xz |
Merge pull request #7653
73d3b00 unit_tests: fix boost 1.58 compatibility (anon)
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 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); |