couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [25/35] couchdb commit: updated refs/heads/2876-js-tests-merged to 6d9b2eb
Date Sat, 12 Dec 2015 16:01:46 GMT
Attachments working and only security left


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

Branch: refs/heads/2876-js-tests-merged
Commit: 3a9a3e6c4eed5b4e45b3f5323f6ada80ab0f1521
Parents: 3346282
Author: sebastianro <sebastianro@apache.org>
Authored: Thu Nov 12 20:42:41 2015 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Dec 12 15:25:10 2015 +0100

----------------------------------------------------------------------
 test/javascript/tests/replication.js | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/3a9a3e6c/test/javascript/tests/replication.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/replication.js b/test/javascript/tests/replication.js
index b2eafeb..ac7981a 100644
--- a/test/javascript/tests/replication.js
+++ b/test/javascript/tests/replication.js
@@ -1470,10 +1470,9 @@ couchTests.replication = function(debug) {
   };
   var bigTextAtt = makeAttData(128 * 1024);
   var attName = "readme.txt";
-  var xhr = CouchDB.request("GET", "/_config/attachments/compression_level");
-  var compressionLevel = JSON.parse(xhr.responseText);
-  xhr = CouchDB.request("GET", "/_config/attachments/compressible_types");
-  var compressibleTypes = JSON.parse(xhr.responseText);
+  var oldSettings = getCompressionInfo();
+  var compressionLevel = oldSettings.level;
+  var compressibleTypes = oldSettings.types;
 
   for (i = 0; i < dbPairs.length; i++) {
     populateDb(sourceDb, [doc]);


Mime
View raw message