Merge pull request #3960 from degasus/master

BusyLoopTest: Only run 10 times.
This commit is contained in:
Pierre Bourdon 2016-06-27 22:25:17 +02:00 committed by GitHub
commit ee629ec763
1 changed files with 1 additions and 1 deletions

View File

@ -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(); }); });