couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [40/50] couchdb commit: updated refs/heads/auth-tests-wip to c34d871
Date Tue, 12 Jul 2016 19:41:23 GMT
64 too high, 10 is sufficient


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

Branch: refs/heads/auth-tests-wip
Commit: 116aca840ac0e47d72e17068c941aa624b4a351b
Parents: 638b5cb
Author: Robert Newson <rnewson@apache.org>
Authored: Mon Jul 4 17:16:28 2016 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Mon Jul 4 17:16:28 2016 +0100

----------------------------------------------------------------------
 test/javascript/tests/attachments.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/116aca84/test/javascript/tests/attachments.js
----------------------------------------------------------------------
diff --git a/test/javascript/tests/attachments.js b/test/javascript/tests/attachments.js
index 1baea65..b40096c 100644
--- a/test/javascript/tests/attachments.js
+++ b/test/javascript/tests/attachments.js
@@ -218,7 +218,7 @@ couchTests.attachments= function(debug) {
 
   // test large attachments - COUCHDB-366
   var lorem = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. '
-  for (var i=0; i<64; i++) {
+  for (var i=0; i<10; i++) {
     lorem = lorem + lorem;
   }
   var xhr = CouchDB.request("PUT", "/" + db_name + "/bin_doc5/lorem.txt", {
@@ -234,7 +234,7 @@ couchTests.attachments= function(debug) {
 
   // test large inline attachment too
   var lorem_b64 = 'TG9yZW0gaXBzdW0gZG9sb3Igc2l0IGFtZXQsIGNvbnNlY3RldHVyIGFkaXBpc2NpbmcgZWxpdC4g'
-  for (var i=0; i<64; i++) {
+  for (var i=0; i<10; i++) {
     lorem_b64 = lorem_b64 + lorem_b64;
   }
   var doc = db.open("bin_doc5", {attachments:true});


Mime
View raw message