unit tests and fixes
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2024-12-26 15:16:18 -06:00
parent 567756916b
commit 633e7376f7

View File

@ -822,9 +822,11 @@ TEST_F(file_manager_test, evict_file_fails_if_unable_to_get_filesystem_item) {
file_manager mgr(*cfg, mp);
EXPECT_CALL(mp, get_filesystem_item)
.WillRepeatedly(
[](const std::string &api_path, bool directory,
filesystem_item &fsi) -> api_error { return api_error::error; });
.WillRepeatedly([](const std::string & /* api_path */,
bool /* directory */,
filesystem_item & /* fsi */) -> api_error {
return api_error::error;
});
EXPECT_FALSE(mgr.evict_file("/test_open.txt"));
}