diff options
author | v.mikhaylenko <v.mikhaylenko@corp.mail.ru> | 2015-07-21 12:52:43 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:56:50 +0300 |
commit | 5d5b17e42d067ffd51a71ed008eb4649548f278a (patch) | |
tree | 02c27b6dc4bf9d5c7a5098eb9d8be3a89f974267 /indexer | |
parent | 09ecd33a36267e7bc610cf35ed2da958b5fba493 (diff) |
[indexer] Fixed indexer_tests.
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/indexer_tests/features_offsets_table_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indexer/indexer_tests/features_offsets_table_test.cpp b/indexer/indexer_tests/features_offsets_table_test.cpp index c0d46e2425..2b1b854a94 100644 --- a/indexer/indexer_tests/features_offsets_table_test.cpp +++ b/indexer/indexer_tests/features_offsets_table_test.cpp @@ -68,6 +68,7 @@ namespace feature platform::LocalCountryFile localFile(GetPlatform().WritableDir(), country, 0 /* version */); localFile.SyncWithDisk(); FilesContainerR baseContainer(p.GetReader(testFileName + DATA_FILE_EXTENSION)); + CountryIndexes::PreparePlaceOnDisk(localFile); const string indexFile = CountryIndexes::GetPath(localFile, CountryIndexes::Index::Offsets); FileWriter::DeleteFileX(indexFile); unique_ptr<FeaturesOffsetsTable> table(FeaturesOffsetsTable::CreateIfNotExistsAndLoad(indexFile, localFile)); |