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
21cc7fc5
Commit
21cc7fc5
authored
Apr 29, 2019
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make this test work on FreeBSD.
parent
a1a75240
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
s00010.vtc
bin/varnishtest/tests/s00010.vtc
+8
-7
No files found.
bin/varnishtest/tests/s00010.vtc
View file @
21cc7fc5
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"
...
...
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