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
c8ecdc15
Commit
c8ecdc15
authored
Apr 24, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extend timeout_idle test to uds
parent
43bbe97b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
4 deletions
+32
-4
b00067.vtc
bin/varnishtest/tests/b00067.vtc
+32
-4
No files found.
bin/varnishtest/tests/b00067.vtc
View file @
c8ecdc15
varnishtest "Check timeout_idle"
varnish v1 -arg "-p timeout_idle=1" -vcl {
varnish v1 -arg "-p timeout_idle=1" \
-arg "-a 127.0.0.1:0" \
-arg "-a ${tmpdir}/v1.sock" \
-vcl {
backend dummy { .host = "${bad_ip}"; }
sub vcl_deliver {
...
...
@@ -22,9 +25,29 @@ client c1 {
rxresp
delay 1.2
expect_close
} -
run
} -
start
client c1 {
client c2 {
txreq -url "/sess"
rxresp
delay 1.2
txreq
rxresp
delay 2.2
expect_close
} -start
client c1u -connect "${tmpdir}/v1.sock" {
txreq
rxresp
delay 0.2
txreq
rxresp
delay 1.2
expect_close
} -start
client c2u -connect "${tmpdir}/v1.sock" {
txreq -url "/sess"
rxresp
delay 1.2
...
...
@@ -32,4 +55,9 @@ client c1 {
rxresp
delay 2.2
expect_close
} -run
} -start
client c1 -wait
client c2 -wait
client c1u -wait
client c2u -wait
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