diff options
author | Arne Juul <arnej@verizonmedia.com> | 2021-02-15 13:55:04 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2021-02-15 14:16:21 +0000 |
commit | af9d59c3fece374c5fe61575c67ad49ac5f84bb4 (patch) | |
tree | a1851a855e22e406f877bfb405e192232ec1e137 /searchcore/src/tests/proton/documentdb/documentdb_test.cpp | |
parent | 805a313df05d2f347af321511527e06ea3cae92c (diff) |
use size literals in searchcore
Diffstat (limited to 'searchcore/src/tests/proton/documentdb/documentdb_test.cpp')
-rw-r--r-- | searchcore/src/tests/proton/documentdb/documentdb_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp index 91046fbb567..d560a474ec4 100644 --- a/searchcore/src/tests/proton/documentdb/documentdb_test.cpp +++ b/searchcore/src/tests/proton/documentdb/documentdb_test.cpp @@ -25,6 +25,7 @@ #include <vespa/searchlib/index/dummyfileheadercontext.h> #include <vespa/searchlib/transactionlog/translogserver.h> #include <vespa/vespalib/data/slime/slime.h> +#include <vespa/vespalib/util/size_literals.h> #include <vespa/config-bucketspaces.h> #include <vespa/vespalib/testkit/test_kit.h> @@ -84,7 +85,7 @@ struct Fixture { Fixture::Fixture() : _dummy(), _myDBOwner(), - _summaryExecutor(8, 128*1024), + _summaryExecutor(8, 128_Ki), _hwInfo(), _bucketExecutor(2), _db(), @@ -110,7 +111,7 @@ Fixture::Fixture() makeBucketSpace(), *b->getProtonConfigSP(), _myDBOwner, _summaryExecutor, _summaryExecutor, _bucketExecutor, _tls, _dummy, _fileHeaderContext, std::make_unique<MemoryConfigStore>(), - std::make_shared<vespalib::ThreadStackExecutor>(16, 128 * 1024), _hwInfo); + std::make_shared<vespalib::ThreadStackExecutor>(16, 128_Ki), _hwInfo); _db->start(); _db->waitForOnlineState(); } |