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
7196e8a8
Commit
7196e8a8
authored
Sep 17, 2013
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More test-case tuning for Jenkins
parent
ee58c33a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
r01140.vtc
bin/varnishtest/tests/r01140.vtc
+17
-3
No files found.
bin/varnishtest/tests/r01140.vtc
View file @
7196e8a8
...
...
@@ -4,7 +4,7 @@ server s1 {
# This response should almost completely fill the storage
rxreq
expect req.url == /url1
txresp -bodylen 1048
05
0
txresp -bodylen 1048
10
0
# The next one should not fit in the storage, ending up in transient
# with zero ttl (=shortlived)
...
...
@@ -19,19 +19,33 @@ server s1 {
} -start
varnish v1 -arg "-p expiry_sleep=0.01 -p nuke_limit=0 -p shortlived=0" \
-storage "-smalloc,1m" -vcl+backend { } -start
-storage "-smalloc,1m" -vcl+backend {
sub vcl_backend_response {
set beresp.do_stream = false;
}
} -start
client c1 {
txreq -url /url1
rxresp
expect resp.status == 200
expect resp.bodylen == 1048050
expect resp.bodylen == 1048100
} -run
delay .1
varnish v1 -expect SMA.s0.g_space < 1000
client c1 {
txreq -url /url2
rxresp
expect resp.status == 200
expect resp.bodylen == 1024
} -run
delay .1
client c1 {
txreq -url /url2
rxresp
expect resp.status == 200
...
...
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