diff options
author | Paul Joseph Davis <davisp@apache.org> | 2011-01-20 00:51:26 +0000 |
---|---|---|
committer | Paul Joseph Davis <davisp@apache.org> | 2011-01-20 00:51:26 +0000 |
commit | 7ab438e99d43acc8898471c13c512124cccca56f (patch) | |
tree | 8fc4d2c5570792b48f0169f1dc2da948d8e2a51c /share/www/script/test/purge.js | |
parent | 3798ac83517494e2f3435f9093613d0e94bbec43 (diff) | |
parent | c9c334db9fe384265df316459555fe2411fd8231 (diff) |
Tagging the 1.0.2 release. Again.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/tags/1.0.2@1061084 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/purge.js')
-rw-r--r-- | share/www/script/test/purge.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/share/www/script/test/purge.js b/share/www/script/test/purge.js index af72ea4f..f8f45138 100644 --- a/share/www/script/test/purge.js +++ b/share/www/script/test/purge.js @@ -76,6 +76,14 @@ couchTests.purge = function(debug) { } T(db.view("test/single_doc").total_rows == 0); + // purge sequences are preserved after compaction (COUCHDB-1021) + T(db.compact().ok); + T(db.last_req.status == 202); + // compaction isn't instantaneous, loop until done + while (db.info().compact_running) {}; + var compactInfo = db.info(); + T(compactInfo.purge_seq == newInfo.purge_seq); + // purge documents twice in a row without loading views // (causes full view rebuilds) |