diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-12-26 13:58:35 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-12-26 13:58:35 -0500 |
commit | 9b5463a508c9c4db49ceb4f628e912bb54c72ddd (patch) | |
tree | fea9435c621e9dcb7273ce51b54fa73646c9da69 | |
parent | 759748b50f40d1c719cd5af469cf45befde04f3e (diff) | |
download | mongo-9b5463a508c9c4db49ceb4f628e912bb54c72ddd.tar.gz |
The test_compact02.test_compact02.test_compact02(128KB.1mb.file) keeps
failing every now and then, drop the maximum leaf-page size back to 64KB.
-rw-r--r-- | test/suite/test_compact02.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/suite/test_compact02.py b/test/suite/test_compact02.py index 3f3a388a5aa..8499adea84c 100644 --- a/test/suite/test_compact02.py +++ b/test/suite/test_compact02.py @@ -49,11 +49,13 @@ class test_compact02(wttest.WiredTigerTestCase): # There's a balance between the pages we create and the size of the records # 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. + # 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. fileConfig = [ ('default', dict(fileConfig='')), ('8KB', dict(fileConfig='leaf_page_max=8kb')), - ('128KB', dict(fileConfig='leaf_page_max=128kb')), + ('64KB', dict(fileConfig='leaf_page_max=64KB')), ] scenarios = \ number_scenarios(multiply_scenarios('.', types, cacheSize, fileConfig)) |