aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/functional_tests/make_test_signature.cc1
-rw-r--r--tests/unit_tests/get_xtype_from_string.cpp1
-rw-r--r--tests/unit_tests/node_server.cpp2
3 files changed, 3 insertions, 1 deletions
diff --git a/tests/functional_tests/make_test_signature.cc b/tests/functional_tests/make_test_signature.cc
index 07cc3eea6..cb1723847 100644
--- a/tests/functional_tests/make_test_signature.cc
+++ b/tests/functional_tests/make_test_signature.cc
@@ -28,6 +28,7 @@
#include <stdio.h>
#include "misc_language.h"
+#include "misc_log_ex.h"
#include "string_tools.h"
#include "rpc/rpc_payment_signature.h"
diff --git a/tests/unit_tests/get_xtype_from_string.cpp b/tests/unit_tests/get_xtype_from_string.cpp
index 78bbe6657..17492ed19 100644
--- a/tests/unit_tests/get_xtype_from_string.cpp
+++ b/tests/unit_tests/get_xtype_from_string.cpp
@@ -31,6 +31,7 @@
#include "gtest/gtest.h"
#include <string_tools.h>
+#include <string_tools_lexical.h>
using namespace epee::string_tools;
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);