summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith.bostic@mongodb.com>2016-09-19 03:21:52 -0400
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-19 17:21:52 +1000
commit7652a55a509721813d94e09fba9733a72d2db788 (patch)
treee379ddf59b8f04417de7fe9f7a6b5f0422507d38
parent811f0ec54c98172bbde655cc9399a0919b1c733a (diff)
downloadmongo-7652a55a509721813d94e09fba9733a72d2db788.tar.gz
WT-2874 Change test_compact01 to avoid eviction (#3050)
The test relies on operating without eviction.
-rw-r--r--test/suite/test_compact01.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/suite/test_compact01.py b/test/suite/test_compact01.py
index 861e957d18d..8da1a0df4da 100644
--- a/test/suite/test_compact01.py
+++ b/test/suite/test_compact01.py
@@ -54,9 +54,11 @@ class test_compact(wttest.WiredTigerTestCase, suite_subprocess):
('utility', dict(utility=1,reopen=0)),
]
scenarios = make_scenarios(types, compact)
- # We want a large cache so that eviction doesn't happen
- # (which could skew our compaction results).
- conn_config = 'cache_size=250MB,statistics=(all)'
+
+ # Configure the connection so that eviction doesn't happen (which could
+ # skew our compaction results).
+ conn_config = 'cache_size=1GB,eviction_checkpoint_target=80,' +\
+ 'eviction_dirty_target=80,eviction_dirty_trigger=95,statistics=(all)'
# Test compaction.
def test_compact(self):