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
a0e31b70
Commit
a0e31b70
authored
Sep 28, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vtc: Polish c{97..99} tests
parent
24b43438
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
27 deletions
+27
-27
c00097.vtc
bin/varnishtest/tests/c00097.vtc
+1
-1
c00098.vtc
bin/varnishtest/tests/c00098.vtc
+13
-13
c00099.vtc
bin/varnishtest/tests/c00099.vtc
+13
-13
No files found.
bin/varnishtest/tests/c00097.vtc
View file @
a0e31b70
...
...
@@ -53,7 +53,7 @@ client c4 {
} -start
# Wait until c2-c4 are on the waitinglist
delay 1
varnish v1 -vsl_catchup
varnish v1 -expect busy_sleep == 3
# Open up the response headers from s1, and as a result HSH_Unbusy
...
...
bin/varnishtest/tests/c00098.vtc
View file @
a0e31b70
...
...
@@ -70,17 +70,17 @@ server s6 {
varnish v1 -arg "-p thread_pools=1" -arg "-p thread_pool_min=30" -arg "-p rush_exponent=2" -arg "-p debug=+syncvsl" -arg "-p debug=+waitinglist" -vcl+backend {
sub vcl_backend_fetch {
if (bereq.http.
client == "
1") {
if (bereq.http.
user-agent == "c
1") {
set bereq.backend = s1;
} else if (bereq.http.
client == "
2") {
} else if (bereq.http.
user-agent == "c
2") {
set bereq.backend = s2;
} else if (bereq.http.
client == "
3") {
} else if (bereq.http.
user-agent == "c
3") {
set bereq.backend = s3;
} else if (bereq.http.
client == "
4") {
} else if (bereq.http.
user-agent == "c
4") {
set bereq.backend = s4;
} else if (bereq.http.
client == "
5") {
} else if (bereq.http.
user-agent == "c
5") {
set bereq.backend = s5;
} else if (bereq.http.
client == "
6") {
} else if (bereq.http.
user-agent == "c
6") {
set bereq.backend = s6;
}
}
...
...
@@ -90,7 +90,7 @@ varnish v1 -arg "-p thread_pools=1" -arg "-p thread_pool_min=30" -arg "-p rush_e
} -start
client c1 {
txreq
-url /hfp -hdr "Client: 1"
txreq
rxresp
} -start
...
...
@@ -98,32 +98,32 @@ client c1 {
barrier b1 sync
client c2 {
txreq
-url /hfp -hdr "Client: 2"
txreq
rxresp
} -start
client c3 {
txreq
-url /hfp -hdr "Client: 3"
txreq
rxresp
} -start
client c4 {
txreq
-url /hfp -hdr "Client: 4"
txreq
rxresp
} -start
client c5 {
txreq
-url /hfp -hdr "Client: 5"
txreq
rxresp
} -start
client c6 {
txreq
-url /hfp -hdr "Client: 6"
txreq
rxresp
} -start
# Wait until c2-c6 are on the waitinglist
delay 1
varnish v1 -vsl_catchup
varnish v1 -expect busy_sleep == 5
# Open up the response headers from s1, and as a result HSH_Unbusy
...
...
bin/varnishtest/tests/c00099.vtc
View file @
a0e31b70
...
...
@@ -70,17 +70,17 @@ server s6 {
varnish v1 -arg "-p thread_pools=1" -arg "-p thread_pool_min=30" -arg "-p rush_exponent=2" -arg "-p debug=+syncvsl" -arg "-p debug=+waitinglist" -vcl+backend {
sub vcl_backend_fetch {
if (bereq.http.
client == "
1") {
if (bereq.http.
user-agent == "c
1") {
set bereq.backend = s1;
} else if (bereq.http.
client == "
2") {
} else if (bereq.http.
user-agent == "c
2") {
set bereq.backend = s2;
} else if (bereq.http.
client == "
3") {
} else if (bereq.http.
user-agent == "c
3") {
set bereq.backend = s3;
} else if (bereq.http.
client == "
4") {
} else if (bereq.http.
user-agent == "c
4") {
set bereq.backend = s4;
} else if (bereq.http.
client == "
5") {
} else if (bereq.http.
user-agent == "c
5") {
set bereq.backend = s5;
} else if (bereq.http.
client == "
6") {
} else if (bereq.http.
user-agent == "c
6") {
set bereq.backend = s6;
}
}
...
...
@@ -90,7 +90,7 @@ varnish v1 -arg "-p thread_pools=1" -arg "-p thread_pool_min=30" -arg "-p rush_e
} -start
client c1 {
txreq
-url /hfm -hdr "Client: 1"
txreq
rxresp
} -start
...
...
@@ -98,32 +98,32 @@ client c1 {
barrier b1 sync
client c2 {
txreq
-url /hfm -hdr "Client: 2"
txreq
rxresp
} -start
client c3 {
txreq
-url /hfm -hdr "Client: 3"
txreq
rxresp
} -start
client c4 {
txreq
-url /hfm -hdr "Client: 4"
txreq
rxresp
} -start
client c5 {
txreq
-url /hfm -hdr "Client: 5"
txreq
rxresp
} -start
client c6 {
txreq
-url /hfm -hdr "Client: 6"
txreq
rxresp
} -start
# Wait until c2-c6 are on the waitinglist
delay 1
varnish v1 -vsl_catchup
varnish v1 -expect busy_sleep == 5
# Open up the response headers from s1, and as a result HSH_Unbusy
...
...
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