You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2016/04/25 13:53:30 UTC

[2/9] couchdb commit: updated refs/heads/test4th to 01edf89

Bring include docs back (and link jira to userdb sec)


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/0eac44c9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0eac44c9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0eac44c9

Branch: refs/heads/test4th
Commit: 0eac44c9d1dd92803a77bbb34a879b0e6b9b5982
Parents: ca86e37
Author: sebastianro <se...@apache.org>
Authored: Fri Apr 15 18:15:26 2016 +0200
Committer: sebastianro <se...@apache.org>
Committed: Sat Apr 23 19:22:36 2016 +0200

----------------------------------------------------------------------
 test/javascript/tests/users_db_security.js | 2 +-
 test/javascript/tests/view_include_docs.js | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0eac44c9/test/javascript/tests/users_db_security.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/users_db_security.js b/test/javascript/tests/users_db_security.js
index 4ebab63..2c606a1 100644
--- a/test/javascript/tests/users_db_security.js
+++ b/test/javascript/tests/users_db_security.js
@@ -11,7 +11,7 @@
 // the License.
 
 couchTests.users_db_security = function(debug) {
-  return console.log('TODO');
+  return console.log('TODO after at least COUCHDB-2991 is adressed');
   var db_name = get_random_db_name();
   var usersDb = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   if (debug) debugger;

http://git-wip-us.apache.org/repos/asf/couchdb/blob/0eac44c9/test/javascript/tests/view_include_docs.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/view_include_docs.js b/test/javascript/tests/view_include_docs.js
index 75ef5cd..cefc2cf 100644
--- a/test/javascript/tests/view_include_docs.js
+++ b/test/javascript/tests/view_include_docs.js
@@ -11,7 +11,6 @@
 // the License.
 
 couchTests.view_include_docs = function(debug) {
-  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
   db.createDb();
@@ -125,7 +124,8 @@ couchTests.view_include_docs = function(debug) {
   T(!resp.rows[0].doc.prev);
   T(resp.rows[0].doc.integer == 0);
 
-  var xhr = CouchDB.request("POST", "/" + db_name + "/_compact");
+  // there's no compaction on cluster (and the test ist questionable to say the least: mvcc is no version control after all) - but keep rest of test
+  /*var xhr = CouchDB.request("POST", "/" + db_name + "/_compact");
   T(xhr.status == 202)
   while (db.info().compact_running) {}
 
@@ -135,7 +135,7 @@ couchTests.view_include_docs = function(debug) {
   T(resp.rows[0].id == "0");
   T(!resp.rows[0].doc);
   T(resp.rows[0].doc == null);
-  T(resp.rows[1].doc.integer == 23);
+  T(resp.rows[1].doc.integer == 23);*/
 
   // COUCHDB-549 - include_docs=true with conflicts=true