diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-19 16:06:16 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-20 05:10:52 +0000 |
commit | a00e560b0d8267e9b376e5c0e6a2139a7be63281 (patch) | |
tree | ba207915b8cac9fb92493cc103821f6cce9db31b /searchcore/src/tests/proton/initializer | |
parent | 05b58ac83b06b00ae97ecafad101e44d4dd76aee (diff) |
Remove stacksize from the thread pools and thread executors.
Diffstat (limited to 'searchcore/src/tests/proton/initializer')
-rw-r--r-- | searchcore/src/tests/proton/initializer/task_runner_test.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/searchcore/src/tests/proton/initializer/task_runner_test.cpp b/searchcore/src/tests/proton/initializer/task_runner_test.cpp index adbc3feead2..e4f4bb1b92b 100644 --- a/searchcore/src/tests/proton/initializer/task_runner_test.cpp +++ b/searchcore/src/tests/proton/initializer/task_runner_test.cpp @@ -105,7 +105,7 @@ TestJob::TestJob(TestLog::UP log, InitializerTask::SP root) : _log(std::move(log)), _root(std::move(root)) { } -TestJob::~TestJob() {} +TestJob::~TestJob() = default; struct Fixture @@ -114,14 +114,15 @@ struct Fixture TaskRunner _taskRunner; Fixture(uint32_t numThreads = 1) - : _executor(numThreads, 128_Ki), + : _executor(numThreads), _taskRunner(_executor) - { - } + { } + ~Fixture(); void run(const InitializerTask::SP &task) { _taskRunner.runTask(task); } }; +Fixture::~Fixture() = default; TEST_F("1 thread, 2 dependees, 1 depender", Fixture(1)) { |