diff options
author | Keith Bostic <keith@wiredtiger.com> | 2013-05-23 12:32:21 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2013-05-23 12:32:21 -0400 |
commit | 7b8e1086a8beeea49e31c3b7d233bf4a6d337d6b (patch) | |
tree | 09278915bf81f9e5f8f20eafef729b250b1f3f32 /test/suite/test_truncate02.py | |
parent | 76ed88b2eca3f65fb505ca06fe1ff0146f3cd5cd (diff) | |
download | mongo-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_truncate02.py')
-rw-r--r-- | test/suite/test_truncate02.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/suite/test_truncate02.py b/test/suite/test_truncate02.py index e77eba747aa..24cb8ce9316 100644 --- a/test/suite/test_truncate02.py +++ b/test/suite/test_truncate02.py @@ -44,8 +44,9 @@ class test_truncate_fast_delete(wttest.WiredTigerTestCase): # Use a small page size and lots of keys because we want to create lots # of individual pages in the file. types = [ - ('file', dict(type='file:',\ - config='leaf_page_max=512,value_format=S,key_format=')), + ('file', dict(type='file:', config=\ + 'allocation_size=512,leaf_page_max=512,' +\ + 'value_format=S,key_format=')), ] # This is all about testing the btree layer, not the schema layer, test |