summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsebastianro <sebastianro@apache.org>2015-11-12 20:42:41 +0100
committerJan Lehnardt <jan@apache.org>2015-12-12 15:25:10 +0100
commit3a9a3e6c4eed5b4e45b3f5323f6ada80ab0f1521 (patch)
tree86367ea06018a9314798af96d4c29267e3243949
parent3346282fa1273ad29de286b757106ad30c76180c (diff)
downloadcouchdb-3a9a3e6c4eed5b4e45b3f5323f6ada80ab0f1521.tar.gz
Attachments working and only security left
-rw-r--r--test/javascript/tests/replication.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/javascript/tests/replication.js b/test/javascript/tests/replication.js
index b2eafebd6..ac7981ab6 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]);