Skip to content

Commit a262693

Browse files
committed
Enable jemalloc pool test with BA_GLOBAL_PROVIDER
1 parent 1369352 commit a262693

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

test/pools/jemalloc_pool.cpp

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ using umf_test::test;
1212
using namespace umf_test;
1313

1414
auto defaultParams = umfOsMemoryProviderParamsDefault();
15-
INSTANTIATE_TEST_SUITE_P(jemallocPoolTest, umfPoolTest,
16-
::testing::Values(poolCreateExtParams{
17-
umfJemallocPoolOps(), nullptr,
18-
umfOsMemoryProviderOps(), &defaultParams,
19-
nullptr}));
15+
INSTANTIATE_TEST_SUITE_P(
16+
jemallocPoolTest, umfPoolTest,
17+
::testing::Values(poolCreateExtParams{umfJemallocPoolOps(), nullptr,
18+
umfOsMemoryProviderOps(),
19+
&defaultParams, nullptr},
20+
poolCreateExtParams{umfJemallocPoolOps(), nullptr,
21+
&BA_GLOBAL_PROVIDER_OPS, nullptr,
22+
nullptr}));
2023

2124
// this test makes sure that jemalloc does not use
2225
// memory provider to allocate metadata (and hence

0 commit comments

Comments
 (0)