Add retry logic for AV defense to winOpen. Also, refactor test suite to allow the key Tcl file operations (e.g. copy and delete) to be retried.
FossilOrigin-Name: 9007586fdabed8dbcc78581ea9821cfd1f9a4c8c
This commit is contained in:
+2
-2
@@ -85,7 +85,7 @@ do_test corruptD-1.0 {
|
||||
DELETE FROM t1 WHERE a = 30;
|
||||
DELETE FROM t1 WHERE a = 40;
|
||||
}
|
||||
copy_file test.db test.bu
|
||||
forcecopy test.db test.bu
|
||||
} {}
|
||||
|
||||
proc incr_change_counter {} {
|
||||
@@ -96,7 +96,7 @@ proc incr_change_counter {} {
|
||||
|
||||
proc restore_file {} {
|
||||
db close
|
||||
copy_file test.bu test.db
|
||||
forcecopy test.bu test.db
|
||||
sqlite3 db test.db
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user