aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/tests/persistence/filestorage/filestormanagertest.cpp')
-rw-r--r--storage/src/tests/persistence/filestorage/filestormanagertest.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
index 3525563eb7a..f61a31e5898 100644
--- a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
+++ b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
@@ -192,14 +192,15 @@ bool fileExistsWithin(const std::string& path, const std::string& file) {
return !(findFile(path, file) == "");
}
-std::unique_ptr<DiskThread> createThread(vdstestlib::DirConfig& config,
- TestServiceLayerApp& node,
- spi::PersistenceProvider& provider,
- FileStorHandler& filestorHandler,
- FileStorThreadMetrics& metrics)
+std::unique_ptr<DiskThread>
+createThread(vdstestlib::DirConfig& config,
+ TestServiceLayerApp& node,
+ spi::PersistenceProvider& provider,
+ FileStorHandler& filestorHandler,
+ FileStorThreadMetrics& metrics)
{
(void) config;
- return std::make_unique<PersistenceThread>(nullptr,node.getComponentRegister(), config.getConfigId(),
+ return std::make_unique<PersistenceThread>(node.executor(), node.getComponentRegister(), config.getConfigId(),
provider, filestorHandler, metrics);
}