Commit be23cf75 authored by Geoff Simmons's avatar Geoff Simmons

Update tests to reflect changes in Varnish 5.1.0:

* Count both hitmiss and hitpass.
* The "non-fatal" command in vtc scripts is now called "non_fatal".
parent 87224ed3
......@@ -58,6 +58,7 @@ client c2 {
client c1 -wait
varnish v1 -expect cache_hitpass == 1
varnish v1 -expect cache_hitpass == 0
varnish v1 -expect cache_hitmiss == 1
varnish v1 -expect VBE.vcl1.be.happy == 0
varnish v1 -expect MAIN.n_backend == 2
......@@ -19,7 +19,7 @@ server s1 {
sendhex "00000000"
send "\r\n"
chunked "FOOBAR"
non-fatal
non_fatal
chunkedlen 0
} -start
......@@ -76,7 +76,7 @@ server s1 -wait {
sendhex "00000000"
send "\r\n"
chunked "FOOBAR"
non-fatal
non_fatal
chunkedlen 0
} -start
......
......@@ -23,7 +23,7 @@ server s1 {
delay .2
chunked "FOOBAR"
non-fatal
non_fatal
chunkedlen 0
} -start
......@@ -85,7 +85,7 @@ server s1 -wait {
delay .2
chunked "FOOBAR"
non-fatal
non_fatal
chunkedlen 0
} -start
......
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