Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
16bc1262
Commit
16bc1262
authored
May 05, 2015
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to make the new tests more robust
parent
ea7a162f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c00034.vtc
bin/varnishtest/tests/c00034.vtc
+5
-5
No files found.
bin/varnishtest/tests/c00034.vtc
View file @
16bc1262
...
@@ -124,10 +124,10 @@ server s1 -repeat 2 {
...
@@ -124,10 +124,10 @@ server s1 -repeat 2 {
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
sema r1 sync 2
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
sema r1 sync 2
send "0123456789"
send "0123456789"
send "0123456789"
send "0123456789"
} -start
} -start
...
@@ -159,14 +159,14 @@ delay .1
...
@@ -159,14 +159,14 @@ delay .1
client c1 {
client c1 {
# Closed C-L because we cannot use C-L
# Closed C-L because we cannot use C-L
txreq -url /2 \
txreq -url /2 \
-hdr "Range: bytes=2
0-29
" \
-hdr "Range: bytes=2
-5
" \
-hdr "Connection: close" \
-hdr "Connection: close" \
-hdr "Accept-encoding: gzip"
-hdr "Accept-encoding: gzip"
rxresphdrs
rxresphdrs
expect resp.status == 206
expect resp.status == 206
expect resp.http.Content-Range == "bytes 2
0-29
/*"
expect resp.http.Content-Range == "bytes 2
-5
/*"
expect resp.http.Content-Length ==
10
expect resp.http.Content-Length ==
4
sema r1 sync 2
sema r1 sync 2
recv
10
recv
4
expect_close
expect_close
} -run
} -run
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment