aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/node_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-04-16 12:53:28 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-04-16 12:53:28 -0500
commit36a68b0cbad04dd400f8d42f0c2466c895c8c120 (patch)
treee51c2219d18c5c77cb40322289779ae8ea60779d /tests/unit_tests/node_server.cpp
parentMerge pull request #7647 (diff)
parentunit_tests: fix boost 1.58 compatibility (diff)
downloadmonero-36a68b0cbad04dd400f8d42f0c2466c895c8c120.tar.xz
Merge pull request #7654
df03288 unit_tests: fix boost 1.58 compatibility (anon)
Diffstat (limited to 'tests/unit_tests/node_server.cpp')
-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 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);