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
1ad4bb34
Commit
1ad4bb34
authored
Apr 24, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rework the logexpects of new b68.vtc
Relying on fixed vxids was found to fail, sorry
parent
0c4a9548
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
32 deletions
+14
-32
b00068.vtc
bin/varnishtest/tests/b00068.vtc
+14
-32
No files found.
bin/varnishtest/tests/b00068.vtc
View file @
1ad4bb34
...
@@ -27,36 +27,22 @@ varnish v1 -arg "-p timeout_linger=1" \
...
@@ -27,36 +27,22 @@ varnish v1 -arg "-p timeout_linger=1" \
}
}
} -start
} -start
logexpect l1 -v v1 -q "vxid == 1001" {
logexpect l1 -v v1 -g session -q "SessOpen ~ a0" {
expect * 1001 VCL_call {^RECV}
expect * * VCL_call {^RECV}
expect 0 1001 VCL_Log "^0{128}$"
expect 0 = VCL_Log "^0{128}$"
expect * * VCL_call {^RECV}
expect 0 = VCL_Log "^0{128}$"
expect * * VCL_call {^RECV}
expect 0 = VCL_Log "[1-9a-f]"
} -start
} -start
logexpect l2 -v v1 -q "vxid == 1004" {
logexpect l2 -v v1 -g session -q "SessOpen ~ a1" {
expect * 1004 VCL_call {^RECV}
expect * * VCL_call {^RECV}
expect 0 1004 VCL_Log "^0{128}$"
expect 0 = VCL_Log "^0{128}$"
} -start
expect * * VCL_call {^RECV}
expect 0 = VCL_Log "^0{128}$"
logexpect l3 -v v1 -q "vxid == 1005" {
expect * * VCL_call {^RECV}
expect * 1005 VCL_call {^RECV}
expect 0 = VCL_Log "[1-9a-f]"
expect 0 1005 VCL_Log "^0{128}$"
} -start
logexpect l4 -v v1 -q "vxid == 1006" {
expect * 1006 VCL_call {^RECV}
expect 0 1006 VCL_Log "^0{128}$"
} -start
# requests which made a de-tour over the waiter
logexpect l5 -v v1 -q "vxid == 1007" {
expect * 1007 VCL_call {^RECV}
expect 0 1007 VCL_Log "[1-9a-f]"
} -start
logexpect l6 -v v1 -q "vxid == 1008" {
expect * 1008 VCL_call {^RECV}
expect 0 1008 VCL_Log "[1-9a-f]"
} -start
} -start
client c1 {
client c1 {
...
@@ -86,7 +72,3 @@ client c1u -wait
...
@@ -86,7 +72,3 @@ client c1u -wait
logexpect l1 -wait
logexpect l1 -wait
logexpect l2 -wait
logexpect l2 -wait
logexpect l3 -wait
logexpect l4 -wait
logexpect l5 -wait
logexpect l6 -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