diff options
| author | degasus <wickmarkus@web.de> | 2016-06-27 22:06:52 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2016-06-27 22:06:52 +0200 |
| commit | 3b3cbc4aab288fb0e405b8670be44c79648d33f4 (patch) | |
| tree | eebc3ada201c1ca05bd79a2025baad3442cf0bde /Source/UnitTests/Common/BusyLoopTest.cpp | |
| parent | ddc9e414ee6fe8218d3cb2971d5fcb0f4673a5e6 (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.cpp | 2 |
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(); }); }); |
