From 6d917736806d1e69b0b662657b5ab09e1bc5b904 Mon Sep 17 00:00:00 2001 From: Tor Brede Vekterli Date: Fri, 30 Oct 2020 12:02:38 +0000 Subject: Add stripe bits config and wire to implementation Default is zero bits, which causes the standard, non-striped implementation to be used. --- storage/src/tests/common/teststorageapp.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'storage/src/tests') diff --git a/storage/src/tests/common/teststorageapp.cpp b/storage/src/tests/common/teststorageapp.cpp index 2fc33bc1360..14f1e78f5ca 100644 --- a/storage/src/tests/common/teststorageapp.cpp +++ b/storage/src/tests/common/teststorageapp.cpp @@ -1,6 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "teststorageapp.h" +#include #include #include #include @@ -135,7 +136,7 @@ namespace { } TestServiceLayerApp::TestServiceLayerApp(vespalib::stringref configId) - : TestStorageApp(std::make_unique(true), // TODO remove B-tree flag once default + : TestStorageApp(std::make_unique(ContentBucketDbOptions()), lib::NodeType::STORAGE, getIndexFromConfig(configId), configId), _compReg(dynamic_cast(TestStorageApp::getComponentRegister())), _persistenceProvider(), @@ -148,7 +149,7 @@ TestServiceLayerApp::TestServiceLayerApp(vespalib::stringref configId) TestServiceLayerApp::TestServiceLayerApp(NodeIndex index, vespalib::stringref configId) - : TestStorageApp(std::make_unique(true), // TODO remove B-tree flag once default + : TestStorageApp(std::make_unique(ContentBucketDbOptions()), lib::NodeType::STORAGE, index, configId), _compReg(dynamic_cast(TestStorageApp::getComponentRegister())), _persistenceProvider(), -- cgit v1.2.3