You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2017/07/05 17:00:27 UTC
[couchdb] branch master updated: Remove yet another invalid test
case (ddoc_cache related)
This is an automated email from the ASF dual-hosted git repository.
wohali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/master by this push:
new 7f54516 Remove yet another invalid test case (ddoc_cache related)
7f54516 is described below
commit 7f545167e4b7175c051171024b711de141b8acbf
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Jul 4 17:58:37 2017 -0400
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
---
test/javascript/tests/design_docs.js | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/test/javascript/tests/design_docs.js b/test/javascript/tests/design_docs.js
index 84b5a2b..6e12001 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);
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].