Updated Branches: refs/heads/1.2.x 1f07088bb -> 482234854 refs/heads/master 55d2c9e39 -> 07c78bf41
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/master Commit: 07c78bf417e5ae1a8e6f457a48605a0d6b2dd248 Parents: 55d2c9e Author: Jan Lehnardt <[email protected]> Authored: Sat Jan 7 15:46:23 2012 +0100 Committer: Jan Lehnardt <[email protected]> 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-" }
