summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <joant@atypical.net>2017-07-04 17:58:37 -0400
committerJoan Touzet <wohali@users.noreply.github.com>2017-07-05 13:00:24 -0400
commit7f545167e4b7175c051171024b711de141b8acbf (patch)
tree93a69daf45c19954647ade1c88ce8b90fa3d1609
parentdbe6cf733c8b7c96307dfc538bfc830556208acf (diff)
downloadcouchdb-7f545167e4b7175c051171024b711de141b8acbf.tar.gz
Remove yet another invalid test case (ddoc_cache related)
This test case is failing because of late ddoc_cache eviction. It'd be nice to validate that we correctly invalidate our cached CommonJS modules, but ddoc_cache makes such a test infeasible. See https://github.com/apache/couchdb/commit/85cfc71beb089c7881959c2ac7699b9b35b0f04b#diff-f2fc11abc651cc0b4e99643c85f2a5f6 as well as #559 for more detail. Closes #632
-rw-r--r--test/javascript/tests/design_docs.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/javascript/tests/design_docs.js b/test/javascript/tests/design_docs.js
index 84b5a2bf9..6e12001d7 100644
--- a/test/javascript/tests/design_docs.js
+++ b/test/javascript/tests/design_docs.js
@@ -224,22 +224,6 @@ couchTests.design_docs = function(debug) {
TEquals(200, xhr.status);
TEquals("One", xhr.responseText);
- // Test that changes to the design doc properly invalidate cached modules:
-
- // update the designDoc and replace
- designDoc.whatever.commonjs.circular_one = "exports.name = 'Updated';"
- T(db.save(designDoc).ok);
-
- // request circular_require show function again and check the response has
- // changed
- xhr = CouchDB.request(
- "GET",
- "/" + db_name + "/_design/test/_show/circular_require"
- );
- TEquals(200, xhr.status);
- TEquals("Updated", xhr.responseText);
-
-
// test module id values are as expected:
xhr = CouchDB.request("GET", "/" + db_name + "/_design/test/_show/idtest1");
TEquals(200, xhr.status);