summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/BusyLoopTest.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2016-06-27 22:06:52 +0200
committerdegasus <wickmarkus@web.de>2016-06-27 22:06:52 +0200
commit3b3cbc4aab288fb0e405b8670be44c79648d33f4 (patch)
treeeebc3ada201c1ca05bd79a2025baad3442cf0bde /Source/UnitTests/Common/BusyLoopTest.cpp
parentddc9e414ee6fe8218d3cb2971d5fcb0f4673a5e6 (diff)
BusyLoopTest: Only run 10 times.
Running this test 100 times is not worth to spend 1 second.
Diffstat (limited to 'Source/UnitTests/Common/BusyLoopTest.cpp')
-rw-r--r--Source/UnitTests/Common/BusyLoopTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Common/BusyLoopTest.cpp b/Source/UnitTests/Common/BusyLoopTest.cpp
index efa13fec6c..0c4d7342ef 100644
--- a/Source/UnitTests/Common/BusyLoopTest.cpp
+++ b/Source/UnitTests/Common/BusyLoopTest.cpp
@@ -14,7 +14,7 @@ TEST(BusyLoopTest, MultiThreaded)
{
Common::BlockingLoop loop;
Common::Event e;
- for (int i = 0; i < 100; i++)
+ for (int i = 0; i < 10; i++)
{
loop.Prepare();
std::thread loop_thread([&]() { loop.Run([&]() { e.Set(); }); });