diff options
author | danielk1977 <danielk1977@noemail.net> | 2007-11-05 17:01:08 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2007-11-05 17:01:08 +0000 |
commit | 7eb42c8204ba4ddc0e40178bbff7f76e8986232e (patch) | |
tree | 08dfc973343697b28f4c1dfbdccdc4db1b0bbd58 /test/async.test | |
parent | 662278e4de2d9f95a034fb5c09a25b5e9efc9fd4 (diff) | |
download | sqlite-7eb42c8204ba4ddc0e40178bbff7f76e8986232e.tar.gz sqlite-7eb42c8204ba4ddc0e40178bbff7f76e8986232e.zip |
Reset the writer-thread halt criteria after halting the thread. (CVS 4528)
FossilOrigin-Name: ecbff972a1f5c7d846c322c435fa73584655b7f0
Diffstat (limited to 'test/async.test')
-rw-r--r-- | test/async.test | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/async.test b/test/async.test index 268a7ca5b..5d53efe34 100644 --- a/test/async.test +++ b/test/async.test @@ -6,7 +6,7 @@ #*********************************************************************** # This file runs all tests. # -# $Id: async.test,v 1.12 2007/09/14 16:20:01 danielk1977 Exp $ +# $Id: async.test,v 1.13 2007/11/05 17:01:08 danielk1977 Exp $ if {[catch {sqlite3async_enable}]} { @@ -47,6 +47,7 @@ proc do_test {name args} { sqlite3async_start sqlite3async_halt idle sqlite3async_wait + sqlite3async_halt never } foreach testfile [lsort -dictionary [glob $testdir/*.test]] { @@ -62,6 +63,7 @@ foreach testfile [lsort -dictionary [glob $testdir/*.test]] { sqlite3async_halt idle sqlite3async_start sqlite3async_wait + sqlite3async_halt never } # Flush the write-queue and disable asynchronous IO. This should ensure @@ -70,6 +72,7 @@ set sqlite3async_trace 1 sqlite3async_halt idle sqlite3async_start sqlite3async_wait +sqlite3async_halt never sqlite3async_enable 0 set sqlite3async_trace 0 |