From f9df267f42ff74e758ae44abc8dfa891f1061204 Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Mon, 4 Aug 2025 21:41:56 -0400 Subject: [PATCH] Increase test arena size and fix import --- core/storage/buffer_pool.rs | 2 +- tests/integration/query_processing/test_btree.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/storage/buffer_pool.rs b/core/storage/buffer_pool.rs index 09d18a7db..db29134ec 100644 --- a/core/storage/buffer_pool.rs +++ b/core/storage/buffer_pool.rs @@ -103,7 +103,7 @@ impl Default for BufferPool { impl BufferPool { pub const DEFAULT_ARENA_SIZE: usize = 4 * 1024 * 1024; // 4MB arena - pub const TEST_AREA_SIZE: usize = 512 * 1024; // 512KB arena for testing + pub const TEST_AREA_SIZE: usize = 1 * 1024 * 1024; // 1MB arena for testing pub const DEFAULT_PAGE_SIZE: usize = 4096; // 4KB default page size const MAX_ARENA_SIZE: usize = 32 * 1024 * 1024; // 32MB max arena diff --git a/tests/integration/query_processing/test_btree.rs b/tests/integration/query_processing/test_btree.rs index 7ad4ac828..0e6571698 100644 --- a/tests/integration/query_processing/test_btree.rs +++ b/tests/integration/query_processing/test_btree.rs @@ -1,7 +1,6 @@ use std::{ collections::{HashMap, HashSet}, path::Path, - pin::Pin, rc::Rc, sync::Arc, };