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
54d256cb
Commit
54d256cb
authored
Apr 08, 2023
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make b00067 less aggressive on smaller Vtesters.
parent
8bc3ff03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
18 deletions
+11
-18
b00067.vtc
bin/varnishtest/tests/b00067.vtc
+11
-18
No files found.
bin/varnishtest/tests/b00067.vtc
View file @
54d256cb
varnishtest "Check timeout_idle"
varnish v1 -arg "-p timeout_idle=
1
" \
varnish v1 -arg "-p timeout_idle=
2
" \
-arg "-a ${listen_addr}" \
-arg "-a ${tmpdir}/v1.sock" \
-vcl {
...
...
@@ -8,7 +8,7 @@ varnish v1 -arg "-p timeout_idle=1" \
sub vcl_deliver {
if (req.url == "/sess") {
set sess.timeout_idle =
2
s;
set sess.timeout_idle =
4
s;
}
}
sub vcl_backend_error {
...
...
@@ -23,7 +23,6 @@ client c1 {
delay 0.2
txreq
rxresp
delay 1.2
expect_close
} -start
...
...
@@ -33,17 +32,15 @@ client c2 {
delay 1.2
txreq
rxresp
delay 2.2
expect_close
} -start
client c3 {
loop 3 {
# send a periodic CRLF
delay 0.
3
delay 0.
5
sendhex 0d0a
}
delay 0.3
expect_close
} -start
...
...
@@ -52,20 +49,23 @@ client c4 {
rxresp
loop 3 {
# send a periodic CRLF
delay 0.
3
delay 0.
5
sendhex 0d0a
}
delay 0.3
expect_close
} -start
client c1 -wait
client c2 -wait
client c3 -wait
client c4 -wait
client c1u -connect "${tmpdir}/v1.sock" {
txreq
rxresp
delay 0.2
txreq
rxresp
delay 1.2
expect_close
} -start
...
...
@@ -75,17 +75,15 @@ client c2u -connect "${tmpdir}/v1.sock" {
delay 1.2
txreq
rxresp
delay 2.2
expect_close
} -start
client c3u -connect "${tmpdir}/v1.sock" {
loop 3 {
# send a periodic CRLF
delay 0.
2
delay 0.
5
sendhex 0d0a
}
delay 0.4
expect_close
} -start
...
...
@@ -94,17 +92,12 @@ client c4u -connect "${tmpdir}/v1.sock" {
rxresp
loop 3 {
# send a periodic CRLF
delay 0.
2
delay 0.
5
sendhex 0d0a
}
delay 0.4
expect_close
} -start
client c1 -wait
client c2 -wait
client c3 -wait
client c4 -wait
client c1u -wait
client c2u -wait
client c3u -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