aboutsummaryrefslogtreecommitdiff
path: root/tests/net_load_tests/clt.cpp
diff options
context:
space:
mode:
authorAntonio Juarez <antonio.maria.juarez@live.com>2014-03-20 11:46:11 +0000
committerAntonio Juarez <antonio.maria.juarez@live.com>2014-03-20 11:46:11 +0000
commit8efa1313f3614f34ac0bac947314bb53e9a2412b (patch)
tree2752f8e6dfbb75bc53d56ea422482a8ec5870ffa /tests/net_load_tests/clt.cpp
parentmoved all stuff to github (diff)
downloadmonero-8efa1313f3614f34ac0bac947314bb53e9a2412b.tar.xz
some fixes
Diffstat (limited to 'tests/net_load_tests/clt.cpp')
-rw-r--r--tests/net_load_tests/clt.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/net_load_tests/clt.cpp b/tests/net_load_tests/clt.cpp
index 45c1d0859..3bb29a7db 100644
--- a/tests/net_load_tests/clt.cpp
+++ b/tests/net_load_tests/clt.cpp
@@ -12,6 +12,7 @@
#include "gtest/gtest.h"
#include "include_base_utils.h"
+#include "misc_language.h"
#include "misc_log_ex.h"
#include "storages/levin_abstract_invoke2.h"
@@ -33,7 +34,8 @@ namespace
{
if (predicate())
return true;
- std::this_thread::sleep_for(std::chrono::milliseconds(sleep_ms));
+ //std::this_thread::sleep_for(std::chrono::milliseconds(sleep_ms));
+ epee::misc_utils::sleep_no_w(sleep_ms);
}
return false;
}
@@ -292,7 +294,8 @@ namespace
return true;
}
- std::this_thread::sleep_for(std::chrono::seconds(1));
+ //std::this_thread::sleep_for(std::chrono::seconds(1));
+ epee::misc_utils::sleep_no_w(1000);
}
return false;