From 3b3cbc4aab288fb0e405b8670be44c79648d33f4 Mon Sep 17 00:00:00 2001 From: degasus Date: Mon, 27 Jun 2016 22:06:52 +0200 Subject: [PATCH] BusyLoopTest: Only run 10 times. Running this test 100 times is not worth to spend 1 second. --- Source/UnitTests/Common/BusyLoopTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); });