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
6094e3ff
Unverified
Commit
6094e3ff
authored
Nov 02, 2020
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test changing the path of a uds backend
complement the existing c88 test with changing the path of a backend.
parent
c7bc8b65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
3 deletions
+31
-3
c00088.vtc
bin/varnishtest/tests/c00088.vtc
+31
-3
No files found.
bin/varnishtest/tests/c00088.vtc
View file @
6094e3ff
varnishtest "
Dropping polling of a backend that listens at UDS
"
varnishtest "
Change UDS backend: change path, drop poll
"
server s1 -listen "${tmpdir}/s1.sock" {
non_fatal
...
...
@@ -10,6 +10,16 @@ server s1 -listen "${tmpdir}/s1.sock" {
}
} -start
server s2 -listen "${tmpdir}/s2.sock" {
non_fatal
timeout 3
loop 40 {
rxreq
txresp
accept
}
} -start
varnish v1 -vcl {
probe default {
.window = 8;
...
...
@@ -18,13 +28,31 @@ varnish v1 -vcl {
.interval = 0.1s;
}
backend s1 {
.path = "${s
1
_sock}";
.path = "${s
2
_sock}";
}
} -start
delay 1
varnish v1 -vcl+backend { } -cliok "vcl.use vcl2" -cliok "vcl.discard vcl1"
varnish v1 -vcl {
probe default {
.window = 8;
.initial = 7;
.threshold = 8;
.interval = 0.1s;
}
backend s1 {
.path = "${s1_sock}";
}
} -cliok "vcl.use vcl2" -cliok "vcl.discard vcl1"
delay 1
varnish v1 -vcl {
backend s1 {
.path = "${s1_sock}";
}
} -cliok "vcl.use vcl3" -cliok "vcl.discard vcl2"
delay 1
...
...
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