Skip to content

Commit

Permalink
Enable jemalloc pool test with BA_GLOBAL_PROVIDER
Browse files Browse the repository at this point in the history
  • Loading branch information
vinser52 committed Dec 6, 2024
1 parent 9bf1316 commit 48736b6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions test/pools/jemalloc_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ os_params_unique_handle_t createOsMemoryProviderParams() {
}
auto defaultParams = createOsMemoryProviderParams();

INSTANTIATE_TEST_SUITE_P(jemallocPoolTest, umfPoolTest,
::testing::Values(poolCreateExtParams{
umfJemallocPoolOps(), nullptr,
umfOsMemoryProviderOps(), defaultParams.get()}));
INSTANTIATE_TEST_SUITE_P(
jemallocPoolTest, umfPoolTest,
::testing::Values(poolCreateExtParams{umfJemallocPoolOps(), nullptr,
umfOsMemoryProviderOps(),
defaultParams.get()},
poolCreateExtParams{umfJemallocPoolOps(), nullptr,
&BA_GLOBAL_PROVIDER_OPS, nullptr}));

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

0 comments on commit 48736b6

Please sign in to comment.