Commit 21cc7fc5 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make this test work on FreeBSD.

parent a1a75240
varnishtest "client h1 send timeouts"
# XXX See https://github.com/varnishcache/varnish-cache/pull/2980#issuecomment-486214661
feature cmd {test $(uname) = "Linux"}
feature cmd {test $(uname) != "SunOS"}
server s1 {
rxreq
txresp -bodylen 100000
} -start
varnish v1 -arg "-p timeout_idle=1" \
-arg "-a 127.0.0.1:0" \
-arg "-a ${tmpdir}/v1.sock" \
-vcl+backend {
varnish v1 \
-arg "-p timeout_idle=1" \
-arg "-p idle_send_timeout=.1" \
-arg "-p send_timeout=.1" \
-arg "-a 127.0.0.1:0" \
-arg "-a ${tmpdir}/v1.sock" \
-vcl+backend {
import debug;
sub vcl_deliver {
......@@ -19,8 +22,6 @@ varnish v1 -arg "-p timeout_idle=1" \
}
} -start
varnish v1 -cliok "param.set send_timeout 1"
logexpect l1 -v v1 {
expect * * Debug "Hit total send timeout"
expect * * Debug "Hit total send timeout"
......
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