[tests] Fixed the upper bound for the categories trie.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako 2022-01-25 21:35:43 +03:00
parent f9d11a44de
commit f666b09c94

View file

@ -315,7 +315,7 @@ UNIT_TEST(CategoriesIndex_AllCategories)
index.AddAllCategoriesInAllLangs();
// Consider deprecating this method if this bound rises as high as a million.
LOG(LINFO, ("Number of nodes in the CategoriesIndex trie:", index.GetNumTrieNodes()));
TEST_LESS(index.GetNumTrieNodes(), 400000, ());
TEST_LESS(index.GetNumTrieNodes(), 450000, ());
}
#endif