Index: test/wal3.test ================================================================== --- test/wal3.test +++ test/wal3.test @@ -34,10 +34,11 @@ # of test cases tests that nothing appears to go wrong when this is # done. # do_test wal3-1.0 { execsql { + PRAGMA cache_size = 2000; PRAGMA page_size = 1024; PRAGMA auto_vacuum = off; PRAGMA synchronous = normal; PRAGMA journal_mode = WAL; PRAGMA wal_autocheckpoint = 0; @@ -183,25 +184,25 @@ sql { COMMIT; PRAGMA wal_checkpoint; } file size test.db - } [expr 3*1024] + } [expr $AUTOVACUUM ? 4*1024 : 3*1024] do_test wal3-2.$tn.5 { sql2 { COMMIT; PRAGMA wal_checkpoint; } file size test.db - } [expr 4*1024] + } [expr $AUTOVACUUM ? 5*1024 : 4*1024] do_test wal3-2.$tn.6 { sql3 { COMMIT; PRAGMA wal_checkpoint; } file size test.db - } [expr 4*1024] + } [expr $AUTOVACUUM ? 5*1024 : 4*1024] catch { db close } catch { code2 { db2 close } } catch { code3 { db3 close } } catch { close $::code2_chan }