aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-22 19:34:09 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-22 19:34:09 +0000
commit5e3557d2c30f9f1a206d93441897793a993f3618 (patch)
treebf91ab81d379f9b4d6d8ad7db7feaa17fc63faf4 /tests/net_load_tests
parentMerge pull request #681 (diff)
downloadmonero-5e3557d2c30f9f1a206d93441897793a993f3618.tar.xz
move g_test_dbg_lock_sleep from a global to a function level static
This avoids the need to define that variable in every program which uses epee.
Diffstat (limited to 'tests/net_load_tests')
-rw-r--r--tests/net_load_tests/clt.cpp2
-rw-r--r--tests/net_load_tests/srv.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/net_load_tests/clt.cpp b/tests/net_load_tests/clt.cpp
index e6b5c0414..56089a4da 100644
--- a/tests/net_load_tests/clt.cpp
+++ b/tests/net_load_tests/clt.cpp
@@ -628,8 +628,6 @@ TEST_F(net_load_test_clt, permament_open_and_close_and_connections_closed_by_ser
ASSERT_EQ(RESERVED_CONN_CNT, m_tcp_server.get_config_object().get_connections_count());
}
-unsigned int epee::g_test_dbg_lock_sleep = 0;
-
int main(int argc, char** argv)
{
epee::debug::get_set_enable_assert(true, false);
diff --git a/tests/net_load_tests/srv.cpp b/tests/net_load_tests/srv.cpp
index 5a737e616..d8d3eae2e 100644
--- a/tests/net_load_tests/srv.cpp
+++ b/tests/net_load_tests/srv.cpp
@@ -213,8 +213,6 @@ namespace
};
}
-unsigned int epee::g_test_dbg_lock_sleep = 0;
-
int main(int argc, char** argv)
{
//set up logging options