Skip to content

Commit

Permalink
test_compact02.test_compact02.test_compact02(64KB.1mb.file) occasionally
Browse files Browse the repository at this point in the history
fails, too -- I'd rather test a small cache than a larger page size, so
drop back to a maximum of 32KB (the default).
  • Loading branch information
keithbostic committed Dec 26, 2015
1 parent 9b5463a commit 9326435
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/suite/test_compact02.py
Expand Up @@ -50,12 +50,11 @@ class test_compact02(wttest.WiredTigerTestCase):
# being stored: compaction doesn't work on tables with many overflow items
# because we don't rewrite them. Experimentally, 8KB is as small as the test
# can go. Additionally, we can't set the maximum page size too large because
# there won't be enough pages to rewrite. Experimentally, 64KB is as large
# as the test can go.
# there won't be enough pages to rewrite. Experimentally, 32KB (the default)
* is as large as the test can go.
fileConfig = [
('default', dict(fileConfig='')),
('8KB', dict(fileConfig='leaf_page_max=8kb')),
('64KB', dict(fileConfig='leaf_page_max=64KB')),
]
scenarios = \
number_scenarios(multiply_scenarios('.', types, cacheSize, fileConfig))
Expand Down

0 comments on commit 9326435

Please sign in to comment.