aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-21 10:09:51 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-21 10:17:18 +0100
commit937e7f8aa6bda1280abdea493583f4f959ee18e8 (patch)
tree5d88a15ed55bec94d672a6c5edca52053965ba0b /tests/net_load_tests
parentMerge pull request #2601 (diff)
downloadmonero-937e7f8aa6bda1280abdea493583f4f959ee18e8.tar.xz
Initialize openssl on startup
Diffstat (limited to 'tests/net_load_tests')
-rw-r--r--tests/net_load_tests/clt.cpp1
-rw-r--r--tests/net_load_tests/srv.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/net_load_tests/clt.cpp b/tests/net_load_tests/clt.cpp
index 376d7ee53..2572d3bb7 100644
--- a/tests/net_load_tests/clt.cpp
+++ b/tests/net_load_tests/clt.cpp
@@ -627,6 +627,7 @@ TEST_F(net_load_test_clt, permament_open_and_close_and_connections_closed_by_ser
int main(int argc, char** argv)
{
+ tools::on_startup();
epee::debug::get_set_enable_assert(true, false);
//set up logging options
mlog_configure(mlog_get_default_log_path("net_load_tests_clt.log"), true);
diff --git a/tests/net_load_tests/srv.cpp b/tests/net_load_tests/srv.cpp
index e6dee1639..2829b0508 100644
--- a/tests/net_load_tests/srv.cpp
+++ b/tests/net_load_tests/srv.cpp
@@ -215,6 +215,7 @@ namespace
int main(int argc, char** argv)
{
+ tools::on_startup();
//set up logging options
mlog_configure(mlog_get_default_log_path("net_load_tests_srv.log"), true);