You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ji...@apache.org on 2018/04/30 13:44:53 UTC
[couchdb] branch COUCHDB-3326-clustered-purge-davisp-refactor
updated: enable purge.js
This is an automated email from the ASF dual-hosted git repository.
jiangphcn pushed a commit to branch COUCHDB-3326-clustered-purge-davisp-refactor
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/COUCHDB-3326-clustered-purge-davisp-refactor by this push:
new 6a218b2 enable purge.js
6a218b2 is described below
commit 6a218b2330282ae96f9a4e9406d820b8c276934c
Author: jiangphcn <ji...@cn.ibm.com>
AuthorDate: Mon Apr 30 21:43:55 2018 +0800
enable purge.js
COUCHDB-3326
---
test/javascript/tests/purge.js | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/javascript/tests/purge.js b/test/javascript/tests/purge.js
index 793ed7d..0c11d9a 100644
--- a/test/javascript/tests/purge.js
+++ b/test/javascript/tests/purge.js
@@ -11,7 +11,6 @@
// the License.
couchTests.purge = function(debug) {
- return console.log('TODO: this feature will be re-opened soon');
var db_name = get_random_db_name();
var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
db.createDb();
@@ -58,8 +57,8 @@ couchTests.purge = function(debug) {
var result = JSON.parse(xhr.responseText);
var newInfo = db.info();
- T(result.purged["1"].purged[0] == doc1._rev);
- T(result.purged["2"].purged[0] == doc2._rev);
+ T(result.purged["1"] == doc1._rev);
+ T(result.purged["2"] == doc2._rev);
T(db.open("1") == null);
T(db.open("2") == null);
--
To stop receiving notification emails like this one, please contact
jiangphcn@apache.org.