From 01ce947a6dd5c7fd3be56b71c274e63344daf582 Mon Sep 17 00:00:00 2001 From: Sergei Vinogradov Date: Sun, 17 Nov 2024 22:01:18 +0100 Subject: [PATCH] Enable jemalloc pool test with BA_GLOBAL_PROVIDER --- test/pools/jemalloc_pool.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/test/pools/jemalloc_pool.cpp b/test/pools/jemalloc_pool.cpp index 3a78c5371..c3f9d5434 100644 --- a/test/pools/jemalloc_pool.cpp +++ b/test/pools/jemalloc_pool.cpp @@ -12,11 +12,14 @@ using umf_test::test; using namespace umf_test; auto defaultParams = umfOsMemoryProviderParamsDefault(); -INSTANTIATE_TEST_SUITE_P(jemallocPoolTest, umfPoolTest, - ::testing::Values(poolCreateExtParams{ - umfJemallocPoolOps(), nullptr, - umfOsMemoryProviderOps(), &defaultParams, - nullptr})); +INSTANTIATE_TEST_SUITE_P( + jemallocPoolTest, umfPoolTest, + ::testing::Values(poolCreateExtParams{umfJemallocPoolOps(), nullptr, + umfOsMemoryProviderOps(), + &defaultParams, nullptr}, + poolCreateExtParams{umfJemallocPoolOps(), nullptr, + &BA_GLOBAL_PROVIDER_OPS, nullptr, + nullptr})); // this test makes sure that jemalloc does not use // memory provider to allocate metadata (and hence