close all files in background
This commit is contained in:
@@ -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());
|
||||
});
|
||||
|
Reference in New Issue
Block a user