Skip to content

Commit f54d8f5

Browse files
committed
Enable jemalloc pool test with BA_GLOBAL_PROVIDER
1 parent 1c9c7a1 commit f54d8f5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/pools/jemalloc_pool.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ umf_result_t destroyOsMemoryProviderParams(void *params) {
3232

3333
INSTANTIATE_TEST_SUITE_P(
3434
jemallocPoolTest, umfPoolTest,
35-
::testing::Values(poolCreateExtParams{
36-
umfJemallocPoolOps(), nullptr, nullptr, umfOsMemoryProviderOps(),
37-
createOsMemoryProviderParams, destroyOsMemoryProviderParams}));
35+
::testing::Values(poolCreateExtParams{umfJemallocPoolOps(), nullptr,
36+
nullptr, umfOsMemoryProviderOps(),
37+
createOsMemoryProviderParams,
38+
destroyOsMemoryProviderParams},
39+
poolCreateExtParams{umfJemallocPoolOps(), nullptr,
40+
nullptr, &BA_GLOBAL_PROVIDER_OPS,
41+
nullptr, nullptr}));
3842

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

0 commit comments

Comments
 (0)