diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2013-03-13 02:36:33 -0500 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2013-03-20 06:02:55 -0500 |
commit | 77e7a1ffb62e32b55a2cfa02847682a8b386bd5f (patch) | |
tree | f4f617cd74853ac60cd687f378267faa97d5ff36 /share | |
parent | 6e53c8a7ee5a7f70a7492baf23c1aa383f7c5843 (diff) | |
download | couchdb-77e7a1ffb62e32b55a2cfa02847682a8b386bd5f.tar.gz |
[review] Delete dbs synchronously
For the test suite this should minimize the "file exists" errors that we
see. Theoretically maybe.
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/couch.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch.js b/share/www/script/couch.js index 58ad7a7c2..122db758c 100644 --- a/share/www/script/couch.js +++ b/share/www/script/couch.js @@ -36,7 +36,7 @@ function CouchDB(name, httpHeaders) { // Deletes the database on the server this.deleteDb = function() { - this.last_req = this.request("DELETE", this.uri); + this.last_req = this.request("DELETE", this.uri + "?sync=true"); if (this.last_req.status == 404) { return false; } |