aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-10-15 13:28:07 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-10-15 13:28:07 +0000
commite4e61c963812479c90c576f0291043a0d16d8e5d (patch)
tree0acdcc8e89eac4df1a6463ead0e4973b668849fc /storage/src/tests/persistence/filestorage/filestormanagertest.cpp
parente58457d582ccb5f3b5061d5c8028312310d7b08f (diff)
There will always be a sequencer.
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);
}