Do not incur insane stack limit in Foundation-ThreadPool test. (#3861)

This fixes the test on FreeBSD.
This commit is contained in:
Gleb Popov 2023-03-18 00:09:38 +03:00 committed by GitHub
parent abd06ab4d9
commit f6c3017b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,6 @@ ThreadPoolTest::~ThreadPoolTest()
void ThreadPoolTest::testThreadPool()
{
ThreadPool pool(2, 3, 3);
pool.setStackSize(1);
assertTrue (pool.allocated() == 2);
assertTrue (pool.used() == 0);