You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ro...@apache.org on 2018/06/04 20:49:56 UTC
[incubator-trafficcontrol] 13/15: Add overlapping ranges tests
This is an automated email from the ASF dual-hosted git repository.
rob pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git
commit a04780b411b71d00102b3b2261256de946e5232e
Author: Jan van Doorn <jv...@knutsel.com>
AuthorDate: Sun May 27 14:14:39 2018 -0600
Add overlapping ranges tests
---
.../tests/plugins/range_req_handler/remap.json | 10 +++++-----
grove/integration_test/tests/plugins/range_req_handler/test.sh | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/grove/integration_test/tests/plugins/range_req_handler/remap.json b/grove/integration_test/tests/plugins/range_req_handler/remap.json
index 4cf49e5..80739e4 100644
--- a/grove/integration_test/tests/plugins/range_req_handler/remap.json
+++ b/grove/integration_test/tests/plugins/range_req_handler/remap.json
@@ -21,7 +21,7 @@
"connection-close": false,
"deny": null,
"from": "http://disk-test.cdn.kabletown.net",
- "name": "jvd-test",
+ "name": "test",
"parent_selection": "consistent-hash",
"cache_name": "disk",
"plugins": {
@@ -37,7 +37,7 @@
"set": [
{
"name": "X-CDN-name",
- "value": "JvD-Grove"
+ "value": "GroverCDN"
}
]
},
@@ -70,7 +70,7 @@
"connection-close": false,
"deny": null,
"from": "http://disk1-test.cdn.kabletown.net",
- "name": "jvd1-test",
+ "name": "test1",
"parent_selection": "consistent-hash",
"cache_name": "disk",
"plugins": {
@@ -86,7 +86,7 @@
"set": [
{
"name": "X-CDN-name",
- "value": "JvD-Grove"
+ "value": "GroverCDN"
}
]
}
@@ -116,7 +116,7 @@
"connection-close": false,
"deny": null,
"from": "http://mem-test.cdn.kabletown.net",
- "name": "cim-linear-hds.http.http.cim-linear-hds",
+ "name": "test2",
"parent_selection": "consistent-hash",
"query-string": {
"cache": true,
diff --git a/grove/integration_test/tests/plugins/range_req_handler/test.sh b/grove/integration_test/tests/plugins/range_req_handler/test.sh
index 3de2d23..b013400 100644
--- a/grove/integration_test/tests/plugins/range_req_handler/test.sh
+++ b/grove/integration_test/tests/plugins/range_req_handler/test.sh
@@ -26,7 +26,7 @@ testno=0
for host in "mem-test.cdn.kabletown.net" "disk-test.cdn.kabletown.net"
do
- for r in "0-0" "0-100" "5000-" "-100"
+ for r in "0-0" "0-100" "5000-" "-100" "8-10,9-15,100-200" "0-300,200-250" "-33,66-99,50-150"
do
test="${CMP_TOOL} --chdrs \"Host:$host Range:bytes=${r}\" --ohdrs \"Range:bytes=${r}\" --path \"10Mb.txt\" --ignorehdrs \"Server,Date\""
testno=$(($testno+1))
@@ -41,7 +41,7 @@ done
# multipart
for host in "mem-test.cdn.kabletown.net" "disk-test.cdn.kabletown.net"
do
- for r in "0-0" "0-100" "5000-" "-100" "0-0,10-15" "0-100,200-210" "33-99,101-188"
+ for r in "0-0" "0-100" "5000-" "-100" "0-0,10-15" "0-100,200-210" "33-99,101-188" "8-10,9-15,100-200" "0-300,200-250" "-33,66-99,50-150" "500-,300-304"
do
test="${CMP_TOOL} --chdrs \"Host:$host Range:bytes=${r}\" --ohdrs \"Range:bytes=${r}\" --path \"10Mb.txt\" --ignorehdrs \"Server,Date\" --ignorempb"
testno=$(($testno+1))
--
To stop receiving notification emails like this one, please contact
rob@apache.org.