close all files in background
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
2023-11-30 13:10:32 -06:00
parent 33e8e0890b
commit baf769c462
3 changed files with 7 additions and 20 deletions

View File

@@ -1711,8 +1711,8 @@ TEST(file_manager, file_is_closed_after_download_timeout) {
const auto source_path = utils::path::combine(
cfg.get_cache_directory(), {utils::create_uuid_string()});
event_consumer es("download_timeout", [](const event &e) {
const auto &ee = dynamic_cast<const download_timeout &>(e);
event_consumer es("item_timeout", [](const event &e) {
const auto &ee = dynamic_cast<const item_timeout &>(e);
EXPECT_STREQ("/test_download_timeout.txt",
ee.get_api_path().get<std::string>().c_str());
});