You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2012/01/07 15:47:54 UTC
[2/2] git commit: Add a cache buster for Chrome to attachment_ranges
test
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/48223485
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/48223485
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/48223485
Branch: refs/heads/1.2.x
Commit: 482234854c71512fe1c38a3917cb12a0539330a3
Parents: 1f07088
Author: Jan Lehnardt <ja...@apache.org>
Authored: Sat Jan 7 15:46:23 2012 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Sat Jan 7 15:47:29 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/48223485/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-"
}