1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Change walblock.test to block an external process for 10 seconds, not 5. 5 seconds is not long enough to tell the difference between a blocking lock and a series of retries.

FossilOrigin-Name: 717335fcdb15430ed977cbc98d30345b71728b66
This commit is contained in:
dan
2015-03-21 16:40:24 +00:00
parent c435cf75a5
commit d2f99333cf
3 changed files with 10 additions and 10 deletions

View File

@ -92,9 +92,9 @@ proc barrier_callback {method args} {
set ::out ""
testfixture $::C { db eval { SELECT * FROM t1 } } {set ::out}
do_test "1.2.2.(blocking 5 seconds)" {
do_test "1.2.2.(blocking 10 seconds)" {
set ::continue 0
after 5000 {set ::continue 1}
after 10000 {set ::continue 1}
vwait ::continue
set ::out
} {}