Commit e1b6a2ec authored by Geoff Simmons's avatar Geoff Simmons

Minor test tweak.

Prove that next_check() really runs when there is an error.
parent fd557aa1
......@@ -123,6 +123,7 @@ varnish v1 -vcl {
}
sub vcl_synth {
set resp.http.Error = rdr.error();
set resp.http.Next-Check = req.http.Next-Check;
return (deliver);
}
......@@ -136,6 +137,7 @@ client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.http.Error == "true"
expect resp.http.Next-Check >= 0
expect resp.http.Next-Check <= 0.1
} -run
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