Commit 3e17b28a authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Stabilize r1804

It was a bit racy in the sense that the logs for c2 could be committed
before the c1 logs. I hardened the expectations a bit in the process.
parent af9b7f66
......@@ -6,18 +6,15 @@ server s1 {
} -start
varnish v1 -arg "-afoo=127.0.0.1:0,PROXY" -vcl+backend {
} -start
varnish v1 -arg "-a foo=127.0.0.1:0,PROXY"
varnish v1 -arg "-p thread_pools=1"
varnish v1 -vcl+backend "" -start
logexpect l1 -v v1 -d 0 -g session {
expect * * Begin {^sess .* PROXY$}
expect * = SessOpen {^.* foo .*}
expect * = Proxy {^1 }
expect * * Begin {^req}
expect * * Begin {^sess .* PROXY$}
expect * = SessOpen {^.* foo .*}
expect * = Proxy {^2 }
expect * * Begin {^req}
logexpect l1 -v v1 -g session {
expect * 1000 Begin {^sess .* PROXY$}
expect 0 = SessOpen {^.* foo .*}
expect 0 = Proxy {^1 }
expect * 1001 Begin {^req}
} -start
client c1 {
......@@ -26,6 +23,15 @@ client c1 {
rxresp
} -run
logexpect l1 -wait
logexpect l2 -v v1 -g session {
expect * 1003 Begin {^sess .* PROXY$}
expect 0 = SessOpen {^.* foo .*}
expect 0 = Proxy {^2 }
expect * 1004 Begin {^req}
} -start
client c2 {
# good IPv4
sendhex "0d 0a 0d 0a 00 0d 0a 51 55 49 54 0a"
......@@ -38,4 +44,4 @@ client c2 {
rxresp
} -run
logexpect l1 -wait
logexpect l2 -wait
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment