diff --git a/memory/memory_allocator_test.cc b/memory/memory_allocator_test.cc index 78dc221b8f..3cc14840ec 100644 --- a/memory/memory_allocator_test.cc +++ b/memory/memory_allocator_test.cc @@ -17,6 +17,11 @@ #include "utilities/memory_allocators.h" namespace ROCKSDB_NAMESPACE { + +// TODO: the tests do not work in LITE mode due to relying on +// `CreateFromString()` to create non-default memory allocators. +#ifndef ROCKSDB_LITE + class MemoryAllocatorTest : public testing::Test, public ::testing::WithParamInterface> { @@ -228,6 +233,8 @@ INSTANTIATE_TEST_CASE_P( JemallocNodumpAllocator::IsSupported()))); #endif // ROCKSDB_JEMALLOC +#endif // ROCKSDB_LITE + } // namespace ROCKSDB_NAMESPACE int main(int argc, char** argv) {