aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/persistence/provider_error_wrapper_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/persistence/provider_error_wrapper_test.cpp')
-rw-r--r--storage/src/tests/persistence/provider_error_wrapper_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/storage/src/tests/persistence/provider_error_wrapper_test.cpp b/storage/src/tests/persistence/provider_error_wrapper_test.cpp
index fc88428f915..d5ce8400b25 100644
--- a/storage/src/tests/persistence/provider_error_wrapper_test.cpp
+++ b/storage/src/tests/persistence/provider_error_wrapper_test.cpp
@@ -1,5 +1,6 @@
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#include <tests/common/storage_config_set.h>
#include <vespa/persistence/spi/test.h>
#include <tests/persistence/persistencetestutils.h>
#include <tests/persistence/common/persistenceproviderwrapper.h>
@@ -33,13 +34,15 @@ struct MockErrorListener : ProviderErrorListener {
struct Fixture {
// We wrap the wrapper. It's turtles all the way down!
PersistenceProviderWrapper providerWrapper;
+ std::unique_ptr<StorageConfigSet> config;
TestServiceLayerApp app;
ServiceLayerComponent component;
ProviderErrorWrapper errorWrapper;
Fixture(spi::PersistenceProvider& provider)
: providerWrapper(provider),
- app(),
+ config(StorageConfigSet::make_storage_node_config()),
+ app(config->config_uri()),
component(app.getComponentRegister(), "dummy"),
errorWrapper(providerWrapper)
{