Skip to content

Commit

Permalink
Merge pull request #7755 from dmitrygx/topic/gtest/memtype_cache
Browse files Browse the repository at this point in the history
GTEST/UCS: Fix memtype cache testing
  • Loading branch information
dmitrygx authored Dec 5, 2021
2 parents 5f23385 + 4af8e51 commit e84081f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/gtest/ucs/test_memtype_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ class test_memtype_cache : public ucs::test_with_param<ucs_memory_type_t> {

virtual void init() {
ucs::test_with_param<ucs_memory_type_t>::init();
// Trigger on-demand create of the global memtype cache instance
test_lookup_notfound(NULL, ucs_get_page_size());
}

virtual void cleanup() {
Expand Down

0 comments on commit e84081f

Please sign in to comment.