Permalink
Browse files

Add a test case for #2429

  • Loading branch information...
mbgrydeland committed Nov 14, 2017
1 parent 8f4ff7a commit ce3c13b5f43ff76e8f6b9f11141cb8a143546b7b
Showing with 20 additions and 0 deletions.
  1. +20 −0 bin/varnishtest/tests/r02429.vtc
@@ -0,0 +1,20 @@
varnishtest "#2429 file stevedore error buffer regression test"
server s1 {
accept
} -start
varnish v1 -arg "-s Transient=file,${tmpdir}/_.file,1m" -vcl+backend {
sub vcl_backend_error {
synthetic("foo");
return (deliver);
}
} -start
client c1 {
txreq
rxresp
expect resp.status == 503
expect resp.http.content-length == 3
expect resp.body == "foo"
} -run

0 comments on commit ce3c13b

Please sign in to comment.