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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
index 44cb92071a1..b46c0236150 100644
--- a/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
+++ b/storage/src/tests/persistence/filestorage/filestormanagertest.cpp
@@ -856,7 +856,7 @@ TEST_F(FileStorManagerTest, handler_timeout) {
auto address = std::make_unique<api::StorageMessageAddress>("storage", lib::NodeType::STORAGE, 3);
cmd->setAddress(*address);
cmd->setPriority(0);
- cmd->setTimeout(50);
+ cmd->setTimeout(50ms);
filestorHandler.schedule(cmd, 0);
}
@@ -865,7 +865,7 @@ TEST_F(FileStorManagerTest, handler_timeout) {
auto address = std::make_unique<api::StorageMessageAddress>("storage", lib::NodeType::STORAGE, 3);
cmd->setAddress(*address);
cmd->setPriority(200);
- cmd->setTimeout(10000);
+ cmd->setTimeout(10000ms);
filestorHandler.schedule(cmd, 0);
}