couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [14/16] couchdb commit: updated refs/heads/2876-js-tests to 805a427
Date Wed, 11 Nov 2015 22:50:30 GMT
HTTP test


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

Branch: refs/heads/2876-js-tests
Commit: 752061eec0c0818bf0861b66a3f601fa4e27e7e0
Parents: a5694c1
Author: sebastianro <sebastianro@apache.org>
Authored: Sat Oct 17 17:44:28 2015 +0200
Committer: sebastianro <sebastianro@apache.org>
Committed: Sat Oct 17 17:44:28 2015 +0200

----------------------------------------------------------------------
 test/javascript/tests/http.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/752061ee/test/javascript/tests/http.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/http.js b/test/javascript/tests/http.js
index 4b609d7..850d5f2 100644
--- a/test/javascript/tests/http.js
+++ b/test/javascript/tests/http.js
@@ -11,12 +11,10 @@
 // the License.
 
 couchTests.http = function(debug) {
-  return console.log('TODO');
   var db_name = get_random_db_name();
   var db = new CouchDB(db_name, {"X-Couch-Full-Commit":"false"});
 
   // bug COUCHDB-100: DELETE on non-existent DB returns 500 instead of 404
-  // TODO: db.deleteDb();
 
   db.createDb();
 
@@ -39,6 +37,8 @@ couchTests.http = function(debug) {
     xhr.getResponseHeader("Location"),
     "should include X-Forwarded-Host");
 
+// TODO: allow modifications or leave out
+/*
   run_on_modified_server([{
     section:"httpd",
     key:"x_forwarded_host",
@@ -52,6 +52,7 @@ couchTests.http = function(debug) {
         xhr.getResponseHeader("Location"),
         "should include X-Host");
     });
+*/
 
   // COUCHDB-708: newlines document names
   xhr = CouchDB.request("PUT", "/" + db_name + "/docid%0A/attachment.txt", {


Mime
View raw message