From 5d5b17e42d067ffd51a71ed008eb4649548f278a Mon Sep 17 00:00:00 2001 From: "v.mikhaylenko" Date: Tue, 21 Jul 2015 12:52:43 +0300 Subject: [PATCH] [indexer] Fixed indexer_tests. --- indexer/indexer_tests/features_offsets_table_test.cpp | 1 + 1 file changed, 1 insertion(+) 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 table(FeaturesOffsetsTable::CreateIfNotExistsAndLoad(indexFile, localFile));