Merge pull request #3960 from degasus/master
BusyLoopTest: Only run 10 times.
This commit is contained in:
commit
ee629ec763
|
@ -14,7 +14,7 @@ TEST(BusyLoopTest, MultiThreaded)
|
||||||
{
|
{
|
||||||
Common::BlockingLoop loop;
|
Common::BlockingLoop loop;
|
||||||
Common::Event e;
|
Common::Event e;
|
||||||
for (int i = 0; i < 100; i++)
|
for (int i = 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
loop.Prepare();
|
loop.Prepare();
|
||||||
std::thread loop_thread([&]() { loop.Run([&]() { e.Set(); }); });
|
std::thread loop_thread([&]() { loop.Run([&]() { e.Set(); }); });
|
||||||
|
|
Loading…
Reference in New Issue