diff options
Diffstat (limited to 'vespamalloc/src/tests/allocfree')
-rw-r--r-- | vespamalloc/src/tests/allocfree/allocfree.cpp | 2 | ||||
-rw-r--r-- | vespamalloc/src/tests/allocfree/linklist.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vespamalloc/src/tests/allocfree/allocfree.cpp b/vespamalloc/src/tests/allocfree/allocfree.cpp index 32f881a4b96..ea6f2105d27 100644 --- a/vespamalloc/src/tests/allocfree/allocfree.cpp +++ b/vespamalloc/src/tests/allocfree/allocfree.cpp @@ -73,7 +73,7 @@ int Test::Main() { } TEST_INIT("allocfree_test"); - FastOS_ThreadPool pool(128000); + FastOS_ThreadPool pool; std::map<int, std::shared_ptr<FreeWorker> > freeWorkers; std::map<int, std::shared_ptr<MallocWorker> > mallocWorkers; diff --git a/vespamalloc/src/tests/allocfree/linklist.cpp b/vespamalloc/src/tests/allocfree/linklist.cpp index 1bffb76b2ee..f3f23d726fd 100644 --- a/vespamalloc/src/tests/allocfree/linklist.cpp +++ b/vespamalloc/src/tests/allocfree/linklist.cpp @@ -124,7 +124,7 @@ int Test::Main() { ASSERT_EQUAL(1024ul, sizeof(List)); - FastOS_ThreadPool pool(128000); + FastOS_ThreadPool pool; List::AtomicHeadPtr sharedList(List::HeadPtr(nullptr, 1)); fprintf(stderr, "Start populating list\n"); for (size_t i=0; i < NumBlocks; i++) { |