[storage] Fixed cancel of downloading.

This commit is contained in:
Yuri Gorshenin 2015-07-16 16:19:49 +03:00 committed by Alex Zolotarev
parent f04874f40b
commit 06c603bb36

View file

@ -541,7 +541,7 @@ UNIT_TEST(StorageTest_DownloadTwoCountriesAndDelete)
unique_ptr<CountryDownloaderChecker> venezuelaChecker = make_unique<CountryDownloaderChecker>(
storage, venezuelaIndex, TMapOptions::EMapWithCarRouting,
vector<TStatus>{TStatus::ENotDownloaded, TStatus::EInQueue, TStatus::EDownloading,
TStatus::EDownloading, TStatus::EOnDisk});
TStatus::EOnDisk});
uruguayChecker->StartDownload();
venezuelaChecker->StartDownload();
storage.DeleteCountry(uruguayIndex, TMapOptions::EMap);