aboutsummaryrefslogtreecommitdiff
path: root/test/wal5.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/wal5.test')
-rw-r--r--test/wal5.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/wal5.test b/test/wal5.test
index 360d9c911..50c517286 100644
--- a/test/wal5.test
+++ b/test/wal5.test
@@ -18,6 +18,7 @@ source $testdir/tester.tcl
source $testdir/lock_common.tcl
source $testdir/wal_common.tcl
ifcapable !wal {finish_test ; return }
+do_not_use_codec
set testprefix wal5
@@ -140,13 +141,13 @@ foreach {testprefix do_wal_checkpoint} {
do_test 1.$tn.7 {
reopen_all
list [db_page_count] [wal_page_count] $::nBusyHandler
- } {7 0 0}
+ } [expr {[nonzero_reserved_bytes]?"/# # 0/":"7 0 0"}]
do_test 1.$tn.8 { sql2 { BEGIN ; SELECT x FROM t1 } } {1 2 3 4 5}
do_test 1.$tn.9 {
sql1 { INSERT INTO t1 VALUES(6, zeroblob(1200)) }
list [db_page_count] [wal_page_count] $::nBusyHandler
- } {7 5 0}
+ } [expr {[nonzero_reserved_bytes]?"/# # #/":"7 5 0"}]
do_test 1.$tn.10 { sql3 { BEGIN ; SELECT x FROM t1 } } {1 2 3 4 5 6}
set ::busy_handler_script {
@@ -157,7 +158,7 @@ foreach {testprefix do_wal_checkpoint} {
do_test 1.$tn.11 {
code1 { do_wal_checkpoint db -mode restart }
list [db_page_count] [wal_page_count] $::nBusyHandler
- } {10 5 8}
+ } [expr {[nonzero_reserved_bytes]?"/# # #/":"10 5 8"}]
do_test 1.$tn.12 { set ::db_file_size } 10
}