Skip to content

Commit

Permalink
GTEST/UCS: Fix memtype cache testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrygx committed Dec 5, 2021
1 parent c2fc7bd commit 4af8e51
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 4af8e51

Please sign in to comment.