diff options
author | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2020-06-19 12:28:59 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2020-06-25 10:48:12 +0000 |
commit | 3f7ba13c24d6ac5b4ee77f61580a9bbf867cbd06 (patch) | |
tree | cd098cd7ce2b20846973ded6ed1a1e621c1f1d89 /storage/src/tests/common | |
parent | 2185218c0bb44843bb0f3d33abea3b116b35160a (diff) |
Wire config for enabling content node B-tree bucket DB
Diffstat (limited to 'storage/src/tests/common')
-rw-r--r-- | storage/src/tests/common/teststorageapp.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/storage/src/tests/common/teststorageapp.cpp b/storage/src/tests/common/teststorageapp.cpp index 082af954871..9fcf1049e1b 100644 --- a/storage/src/tests/common/teststorageapp.cpp +++ b/storage/src/tests/common/teststorageapp.cpp @@ -140,10 +140,8 @@ namespace { } TestServiceLayerApp::TestServiceLayerApp(vespalib::stringref configId) - : TestStorageApp( - StorageComponentRegisterImpl::UP( - new ServiceLayerComponentRegisterImpl), - lib::NodeType::STORAGE, getIndexFromConfig(configId), configId), + : TestStorageApp(std::make_unique<ServiceLayerComponentRegisterImpl>(true), // TODO remove B-tree flag once default + lib::NodeType::STORAGE, getIndexFromConfig(configId), configId), _compReg(dynamic_cast<ServiceLayerComponentRegisterImpl&>( TestStorageApp::getComponentRegister())), _persistenceProvider(), @@ -157,10 +155,8 @@ TestServiceLayerApp::TestServiceLayerApp(vespalib::stringref configId) TestServiceLayerApp::TestServiceLayerApp(DiskCount dc, NodeIndex index, vespalib::stringref configId) - : TestStorageApp( - StorageComponentRegisterImpl::UP( - new ServiceLayerComponentRegisterImpl), - lib::NodeType::STORAGE, index, configId), + : TestStorageApp(std::make_unique<ServiceLayerComponentRegisterImpl>(true), // TODO remove B-tree flag once default + lib::NodeType::STORAGE, index, configId), _compReg(dynamic_cast<ServiceLayerComponentRegisterImpl&>( TestStorageApp::getComponentRegister())), _persistenceProvider(), |