summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastianro <sebastianro@apache.org>2016-04-14 17:58:00 +0200
committerJan Lehnardt <jan@apache.org>2016-04-23 12:25:33 +0200
commitd61fdf2a60774cd161c7c453ccb398bd65853d08 (patch)
tree5b33168de4693ebb3581913d0e3ef5e09e194648
parentb74598b08c232828132f68d928f08ea1a523656d (diff)
downloadcouchdb-d61fdf2a60774cd161c7c453ccb398bd65853d08.tar.gz
Remove superflous TODO, Re-enable all HTTP tests and ensure TODO is in place
-rw-r--r--test/javascript/tests/changes.js2
-rw-r--r--test/javascript/tests/http.js3
-rw-r--r--test/javascript/tests/list_views.js2
3 files changed, 2 insertions, 5 deletions
diff --git a/test/javascript/tests/changes.js b/test/javascript/tests/changes.js
index d69b56312..d312edc41 100644
--- a/test/javascript/tests/changes.js
+++ b/test/javascript/tests/changes.js
@@ -637,7 +637,7 @@ couchTests.changes = function(debug) {
db.bulkSave(makeDocs(0, 5));
-// TODO: as before tests: for n>1 you can't be sure all docs are there immediately - so either stick w/ -n 1 or implement check-wait-check
+// for n>1 you can't be sure all docs are there immediately - so either stick w/ -n 1 or implement check-wait-check or use the quorum (for now, the latter seems 2 suffice)
req = CouchDB.request("GET", "/" + db.name + "/_changes");
resp = JSON.parse(req.responseText);
diff --git a/test/javascript/tests/http.js b/test/javascript/tests/http.js
index 850d5f206..c78177897 100644
--- a/test/javascript/tests/http.js
+++ b/test/javascript/tests/http.js
@@ -37,8 +37,6 @@ 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,7 +50,6 @@ 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", {
diff --git a/test/javascript/tests/list_views.js b/test/javascript/tests/list_views.js
index 5c39d2392..e255e1546 100644
--- a/test/javascript/tests/list_views.js
+++ b/test/javascript/tests/list_views.js
@@ -216,7 +216,7 @@ couchTests.list_views = function(debug) {
T(xhr.status == 200, "standard get should be 200");
T(/head0123456789tail/.test(xhr.responseText));
- // test that etags are available - actually they're not (yet): https://issues.apache.org/jira/browse/COUCHDB-2859
+ // TODO: test that etags are available - actually they're not (yet): https://issues.apache.org/jira/browse/COUCHDB-2859
//var etag = xhr.getResponseHeader("etag");
//xhr = CouchDB.request("GET", "/" + db_name + "/_design/lists/_list/basicBasic/basicView", {
// headers: {"if-none-match": etag}