Disable the page cache bulk allocation for the shrink.test and wal.test
modules. FossilOrigin-Name: 3418f1f165a0746cdf130e6a19fa0e1eb56df1d4
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user