Fix flaky unit test

This commit is contained in:
alesapin 2020-03-25 15:49:26 +03:00
parent 049b86ff7d
commit d70a448ca1

View File

@ -13,7 +13,7 @@ static bool check()
try
{
for (size_t i = 0; i < 100; ++i)
for (size_t i = 0; i < 500; ++i)
pool.scheduleOrThrowOnError([] {}); /// An exception will be rethrown from this method.
}
catch (const std::runtime_error &)