aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-03-16 11:19:21 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-03-16 11:20:06 +0000
commit0447c0fdb822ddf603235836b30068337605a723 (patch)
treeef6a7b07caa082eec89efa5d3a6d048fde75966a /vespalib/src/tests/singleexecutor/singleexecutor_test.cpp
parentdcf41da1482b5f359ebce7f6395e00017199ca1d (diff)
GC convenience constructor to be explicit.
Diffstat (limited to 'vespalib/src/tests/singleexecutor/singleexecutor_test.cpp')
-rw-r--r--vespalib/src/tests/singleexecutor/singleexecutor_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp b/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp
index 3b1d244eb13..23b2dd19a85 100644
--- a/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp
+++ b/vespalib/src/tests/singleexecutor/singleexecutor_test.cpp
@@ -15,7 +15,7 @@ VESPA_THREAD_STACK_TAG(sequenced_executor)
TEST("test that all tasks are executed") {
std::atomic<uint64_t> counter(0);
- SingleExecutor executor(sequenced_executor, 10);
+ SingleExecutor executor(sequenced_executor, 10, true, 1, 100ms);
for (uint64_t i(0); i < 10; i++) {
executor.execute(makeLambdaTask([&counter] {counter++;}));