Disable the page cache bulk allocation for the shrink.test and wal.test

modules.

FossilOrigin-Name: 3418f1f165a0746cdf130e6a19fa0e1eb56df1d4
This commit is contained in:
drh
2015-07-25 03:10:12 +00:00
parent c6edb3acf9
commit 7416f2edd9
4 changed files with 12 additions and 8 deletions
+2
View File
@@ -15,6 +15,7 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
test_set_config_pagecache 0 0
unset -nocomplain baseline
do_test shrink-1.1 {
@@ -43,4 +44,5 @@ do_test shrink-1.3 {
expr {$::baseline > [sqlite3_memory_used]+500000}
} {1}
test_restore_config_pagecache
finish_test
+2
View File
@@ -22,6 +22,7 @@ source $testdir/wal_common.tcl
set testprefix wal
ifcapable !wal {finish_test ; return }
test_set_config_pagecache 0 0
proc reopen_db {} {
catch { db close }
@@ -1587,4 +1588,5 @@ foreach mode {OFF MEMORY PERSIST DELETE TRUNCATE WAL} {
db close
}
test_restore_config_pagecache
finish_test