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 5, 2024
1 parent fb53918 commit 1b99bc7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions test/pools/jemalloc_pool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ os_params_unique_handle_t createOsMemoryProviderParams() {
}
auto defaultParams = createOsMemoryProviderParams();

INSTANTIATE_TEST_SUITE_P(jemallocPoolTest, umfPoolTest,
::testing::Values(poolCreateExtParams{
umfJemallocPoolOps(), nullptr,
umfOsMemoryProviderOps(), defaultParams.get(),
nullptr}));
INSTANTIATE_TEST_SUITE_P(
jemallocPoolTest, umfPoolTest,
::testing::Values(poolCreateExtParams{umfJemallocPoolOps(), nullptr,
umfOsMemoryProviderOps(),
defaultParams.get(), 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
Expand Down

0 comments on commit 1b99bc7

Please sign in to comment.