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
cd178217
Commit
cd178217
authored
Nov 06, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make this test un-racy.
parent
a2392eb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
8 deletions
+11
-8
r01821.vtc
bin/varnishtest/tests/r01821.vtc
+11
-8
No files found.
bin/varnishtest/tests/r01821.vtc
View file @
cd178217
...
...
@@ -2,9 +2,13 @@ varnishtest "Slim down hit-for-miss / hit-for-miss objects"
# see also #2768
server s1
-repeat 2
{
server s1 {
rxreq
txresp -bodylen 65535
expect req.url == "/hfm"
txresp -hdr "HFM: True" -bodylen 65530
rxreq
expect req.url == "/hfp"
txresp -hdr "HFP: True" -bodylen 65550
} -start
varnish v1 -arg "-s Transient=default" -vcl+backend {
...
...
@@ -25,16 +29,15 @@ logexpect l1 -v v1 -g raw {
client c1 {
txreq -url "/hfm"
rxresp
} -start
client c2 {
expect resp.status == 200
expect resp.http.hfm == True
txreq -url "/hfp"
rxresp
expect resp.status == 200
expect resp.http.hfp == True
} -run
client c1 -wait
logexpect l1 -wait
varnish v1 -expect SM?.Transient.c_bytes > 131072
varnish v1 -expect SM?.Transient.g_bytes <
65536
varnish v1 -expect SM?.Transient.g_bytes <
2000
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