From f3e9c789b959ecf372788521be0dab3ff6a5e5df Mon Sep 17 00:00:00 2001 From: Kearwood Gilbert Date: Thu, 10 Sep 2026 21:37:27 -0700 Subject: [PATCH] Fix the Region.OutOfMemory test --- tests/region_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/region_test.cpp b/tests/region_test.cpp index 8a7c224..3f3841f 100644 --- a/tests/region_test.cpp +++ b/tests/region_test.cpp @@ -41,7 +41,7 @@ TEST(Region, OutOfMemory) mimir::init(); mimir::Region region; EXPECT_TRUE(region.init(1ULL << 46)); // Attempt to reserve 64TB of pages - EXPECT_FALSE(region.resize(1ULL << 45)); // Attempt to commit 32TB of pages (Assuming we don't have 32TB of ram!) + EXPECT_FALSE(region.resize(1ULL << 60)); // Attempt to commit an extremely large number of pages } TEST(Region, Min1GB)