couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject [26/50] git commit: Add a cache buster for Chrome to attachment_ranges test
Date Sun, 22 Jan 2012 23:43:13 GMT
Add a cache buster for Chrome to attachment_ranges test


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

Branch: refs/heads/COUCHDB-1342
Commit: 07c78bf417e5ae1a8e6f457a48605a0d6b2dd248
Parents: 55d2c9e
Author: Jan Lehnardt <jan@apache.org>
Authored: Sat Jan 7 15:46:23 2012 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Jan 7 15:47:43 2012 +0100

----------------------------------------------------------------------
 share/www/script/test/attachment_ranges.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/07c78bf4/share/www/script/test/attachment_ranges.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/attachment_ranges.js b/share/www/script/test/attachment_ranges.js
index bf1ed63..603848e 100644
--- a/share/www/script/test/attachment_ranges.js
+++ b/share/www/script/test/attachment_ranges.js
@@ -43,7 +43,8 @@ couchTests.attachment_ranges = function(debug) {
     TEquals("29", xhr.getResponseHeader("Content-Length"));
 
     // Fetch the whole entity without an end offset is a 200.
-    var xhr = CouchDB.request("GET", "/test_suite_db/bin_doc/foo.txt?bar=1", {
+    var rand = "&foo=" + Math.random(10000000);
+    var xhr = CouchDB.request("GET", "/test_suite_db/bin_doc/foo.txt?bar=1" + rand, {
         headers: {
             "Range": "bytes=0-"
         }


Mime
View raw message