Commit c8ecdc15 authored by Nils Goroll's avatar Nils Goroll

extend timeout_idle test to uds

parent 43bbe97b
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment