Adjust error cases for which we now receive a 500 response

parent 6470c8b8
...@@ -131,12 +131,14 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" { ...@@ -131,12 +131,14 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c2 { client c2 {
txreq -hdr "Int11: 12" txreq -hdr "Int11: 12"
expect_close rxresp
expect resp.status == 500
} -run } -run
client c3 { client c3 {
txreq -hdr "Int20: 21" txreq -hdr "Int20: 21"
expect_close rxresp
expect resp.status == 500
} -run } -run
logexpect l1 -wait logexpect l1 -wait
......
...@@ -49,7 +49,8 @@ client c1 { ...@@ -49,7 +49,8 @@ client c1 {
client c1 { client c1 {
txreq -hdr "Fail: oops" txreq -hdr "Fail: oops"
expect_close rxresp
expect resp.status == 500
} -run } -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" { logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......
...@@ -86,7 +86,8 @@ varnish v1 -vcl { ...@@ -86,7 +86,8 @@ varnish v1 -vcl {
client c2 { client c2 {
txreq txreq
expect_close rxresp
expect resp.status == "500"
} -run } -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" { logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......
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