summaryrefslogtreecommitdiff
path: root/test/suite/test_truncate03.py
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-05-23 12:32:21 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-05-23 12:32:21 -0400
commit7b8e1086a8beeea49e31c3b7d233bf4a6d337d6b (patch)
tree09278915bf81f9e5f8f20eafef729b250b1f3f32 /test/suite/test_truncate03.py
parent76ed88b2eca3f65fb505ca06fe1ff0146f3cd5cd (diff)
downloadmongo-7b8e1086a8beeea49e31c3b7d233bf4a6d337d6b.tar.gz
If the default leaf/internal page size is 4KB, then setting it to
something smaller requires setting the allocation size as well, because page sizes must be multiples of the allocation size.
Diffstat (limited to 'test/suite/test_truncate03.py')
-rw-r--r--test/suite/test_truncate03.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite/test_truncate03.py b/test/suite/test_truncate03.py
index be09d778a56..4b497999df3 100644
--- a/test/suite/test_truncate03.py
+++ b/test/suite/test_truncate03.py
@@ -38,7 +38,7 @@ class test_truncate_address_deleted(wttest.WiredTigerTestCase):
# Use a small page size and lots of keys because we want to create lots
# of individual pages in the file.
nentries = 10000
- config = 'leaf_page_max=512,value_format=S,key_format=S'
+ config = 'allocation_size=512,leaf_page_max=512,value_format=S,key_format=S'
# address_deleted routine:
# Create an object that has a bunch of address-deleted cells on disk.