Commit 28ba6482 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

It is now possible to match empty fields

The VSL query could in theory do that, but I don't think it was
actionable without double quotes to delimit empty fields or fields
containing spaces.
parent 49a2600e
......@@ -39,3 +39,8 @@ shell -expect "Went healthy" {
varnishlog -d -n ${v1_name} -g raw \
-q 'Backend_health[10] eq "HTTP/1.1 200 OK"'
}
# s1 starts sick before the first probe request is made
shell -expect "Went sick" {
varnishlog -d -n ${v1_name} -g raw -q 'Backend_health[10] eq ""'
}
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