diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-03-24 21:13:36 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2015-03-24 21:13:36 +1100 |
commit | 43692651196e610b41eaba48c37ac95fefbff686 (patch) | |
tree | 9dab568cf5e039362e9357e0cc194336ffc730a2 /test | |
parent | 3d0720774cf7c623a00fbdd122b4a5aa5f4e3fd3 (diff) | |
download | mongo-43692651196e610b41eaba48c37ac95fefbff686.tar.gz |
Change the sweep server to only operate on clean files. Track the maximum transaction ID seen in the checkpoint of a file so that we can be sure in sweep that all pages can be discarded (without dirtying anything in the tree).
Preparation work for SERVER-17587
Diffstat (limited to 'test')
-rw-r--r-- | test/suite/test_sweep01.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/suite/test_sweep01.py b/test/suite/test_sweep01.py index a1a89c58838..989ffb7a971 100644 --- a/test/suite/test_sweep01.py +++ b/test/suite/test_sweep01.py @@ -42,10 +42,7 @@ class test_sweep01(wttest.WiredTigerTestCase, suite_subprocess): uri = 'table:' + tablebase numfiles = 50 numkv = 1000 - ckpt_list = [ - ('off', dict(ckpt=0)), - ('on', dict(ckpt=10)), - ] + ckpt=10 types = [ ('row', dict(tabletype='row', @@ -56,8 +53,7 @@ class test_sweep01(wttest.WiredTigerTestCase, suite_subprocess): create_params = 'key_format=r,value_format=8t')), ] - scenarios = number_scenarios( - prune_scenarios(multiply_scenarios('.', types, ckpt_list), 1, 100)) + scenarios = types # Overrides WiredTigerTestCase def setUpConnectionOpen(self, dir): |