summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_compact01.py
diff options
context:
space:
mode:
authorRamon Fernandez <ramon@mongodb.com>2016-09-26 08:11:23 -0400
committerRamon Fernandez <ramon@mongodb.com>2016-09-26 08:11:23 -0400
commit9dda827a3ae58beef36d53da1b55554cbd8744c4 (patch)
tree6bcd26e1daf5f808a1e5b1dce3f75925aae8b773 /src/third_party/wiredtiger/test/suite/test_compact01.py
parent0de201d310304852d97a7fd4f3248110c83f29b5 (diff)
downloadmongo-9dda827a3ae58beef36d53da1b55554cbd8744c4.tar.gz
Import wiredtiger: fc0e7abe82595e579573d42448632f7b36a2d154 from branch mongodb-3.4
ref: 5bc03723a7..fc0e7abe82 for: 3.3.15 WT-2864 Reconfiguring the checkpoint server can lead to hangs WT-2874 Change test_compact01 to avoid eviction WT-2918 The dist scripts create C files s_whitespace complains about WT-2919 Don't mask error returns from style checking scripts WT-2921 Reduce the WT_SESSION hazard_size when possible WT-2923 heap-use-after-free on address in compaction WT-2924 Ensure we are doing eviction when threads are waiting for it WT-2925 WT_THREAD_PANIC_FAIL is a WT_THREAD structure flag WT-2926 WT_CONNECTION.reconfigure can attempt unlock of not-locked lock WT-2928 Eviction failing to switch queues can lead to starvation
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_compact01.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_compact01.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_compact01.py b/src/third_party/wiredtiger/test/suite/test_compact01.py
index 861e957d18d..8da1a0df4da 100644
--- a/src/third_party/wiredtiger/test/suite/test_compact01.py
+++ b/src/third_party/wiredtiger/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):