From 0bd6d67fefae8bb593662c01bd539776019681a8 Mon Sep 17 00:00:00 2001 From: Jan Mercl <0xjnml@gmail.com> Date: Wed, 18 Dec 2019 17:51:11 +0100 Subject: prepare pre-alpha release --- testdata/mptest/crash02.subtest | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 testdata/mptest/crash02.subtest (limited to 'testdata/mptest/crash02.subtest') diff --git a/testdata/mptest/crash02.subtest b/testdata/mptest/crash02.subtest deleted file mode 100644 index 86f64dd..0000000 --- a/testdata/mptest/crash02.subtest +++ /dev/null @@ -1,53 +0,0 @@ -/* -** This script is called from crash01.test and config02.test and perhaps other -** script. After the database file has been set up, make a big rollback -** journal in client 1, then crash client 1. -** Then in the other clients, do an integrity check. -*/ ---task 1 leave-hot-journal - --sleep 5 - --finish - PRAGMA cache_size=10; - BEGIN; - UPDATE t1 SET b=randomblob(20000); - UPDATE t2 SET b=randomblob(20000); - UPDATE t3 SET b=randomblob(20000); - UPDATE t4 SET b=randomblob(20000); - UPDATE t5 SET b=randomblob(20000); - UPDATE t1 SET b=NULL; - UPDATE t2 SET b=NULL; - UPDATE t3 SET b=NULL; - UPDATE t4 SET b=NULL; - UPDATE t5 SET b=NULL; - --print Task one crashing an incomplete transaction - --exit 1 ---end ---task 2 integrity_check-2 - SELECT count(*) FROM t1; - --match 64 - --sleep 100 - PRAGMA integrity_check(10); - --match ok ---end ---task 3 integrity_check-3 - SELECT count(*) FROM t1; - --match 64 - --sleep 100 - PRAGMA integrity_check(10); - --match ok ---end ---task 4 integrity_check-4 - SELECT count(*) FROM t1; - --match 64 - --sleep 100 - PRAGMA integrity_check(10); - --match ok ---end ---task 5 integrity_check-5 - SELECT count(*) FROM t1; - --match 64 - --sleep 100 - PRAGMA integrity_check(10); - --match ok ---end ---wait all -- cgit v1.2.3-70-g09d2