Skip to content

Commit 0169514

Browse files
committed
Enable jemalloc pool test with BA_GLOBAL_PROVIDER
1 parent bf8d0d8 commit 0169514

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

test/pools/jemalloc_pool.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ os_params_unique_handle_t createOsMemoryProviderParams() {
2626
}
2727
auto defaultParams = createOsMemoryProviderParams();
2828

29-
INSTANTIATE_TEST_SUITE_P(jemallocPoolTest, umfPoolTest,
30-
::testing::Values(poolCreateExtParams{
31-
umfJemallocPoolOps(), nullptr,
32-
umfOsMemoryProviderOps(), defaultParams.get()}));
29+
INSTANTIATE_TEST_SUITE_P(
30+
jemallocPoolTest, umfPoolTest,
31+
::testing::Values(poolCreateExtParams{umfJemallocPoolOps(), nullptr,
32+
umfOsMemoryProviderOps(),
33+
defaultParams.get()},
34+
poolCreateExtParams{umfJemallocPoolOps(), nullptr,
35+
&BA_GLOBAL_PROVIDER_OPS, nullptr}));
3336

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

0 commit comments

Comments
 (0)