500 status is returned for errors now

parent 64c68820
......@@ -136,17 +136,20 @@ client c1 {
client c1 {
txreq -hdr "N: -1"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 6"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Element: oof"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......@@ -318,22 +321,26 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Word: foobar" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbaz" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbazquux" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarb" -hdr "Select: EXACT"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -383,7 +390,8 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Word: bar"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -114,17 +114,20 @@ client c1 {
client c1 {
txreq -hdr "N: -1"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 0"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 6"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......@@ -270,22 +273,26 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Word: foobar" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbaz" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbazquux" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarb" -hdr "Select: EXACT"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -126,7 +126,8 @@ client c1 {
client c1 {
txreq -hdr "Element: oof"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -v v1 -d 1 -g vxid -q "Notice" {
......@@ -188,7 +189,6 @@ client c1 {
rxresp
expect resp.status == 503
expect resp.reason == "VCL failed"
expect_close
} -run
client c1 {
......@@ -196,7 +196,6 @@ client c1 {
rxresp
expect resp.status == 503
expect resp.reason == "VCL failed"
expect_close
} -run
client c1 {
......@@ -204,7 +203,6 @@ client c1 {
rxresp
expect resp.status == 503
expect resp.reason == "VCL failed"
expect_close
} -run
logexpect l1 -wait
......@@ -377,7 +375,6 @@ client c1 {
rxresp
expect resp.status == 503
expect resp.reason == "VCL failed"
expect_close
} -run
client c1 {
......@@ -385,7 +382,6 @@ client c1 {
rxresp
expect resp.status == 503
expect resp.reason == "VCL failed"
expect_close
} -run
logexpect l1 -wait
......@@ -431,7 +427,6 @@ client c1 {
rxresp
expect resp.status == 503
expect resp.reason == "VCL failed"
expect_close
} -run
logexpect l1 -wait
......@@ -1067,7 +1067,8 @@ client c1 {
client c1 {
txreq -hdr "Nil: nil"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......
......@@ -1505,7 +1505,8 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Nil: nil"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -1557,17 +1558,20 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "N: n"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Which: which"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Matched: matched"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......
......@@ -228,22 +228,26 @@ client c1 {
client c1 {
txreq -hdr "N: -1"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 0"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 6"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Element: oof"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......@@ -401,22 +405,26 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Word: foobar" -hdr "Subject: baz" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbaz" -hdr "Subject: bar" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbazquux" -hdr "Subject: foo" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarb" -hdr "Subject: baz" -hdr "Select: EXACT"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -457,7 +465,8 @@ client c1 {
expect resp.http.Match == "true"
txreq -hdr "Word: bar" -hdr "Subject: foo"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......
......@@ -131,22 +131,26 @@ client c1 {
client c1 {
txreq -hdr "N: -1"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 0"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "N: 6"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Element: oof"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -v v1 -d 1 -g vxid -q "VCL_Error" {
......@@ -320,22 +324,26 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Word: foobar" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbaz" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarbazquux" -hdr "Select: UNIQUE"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Word: foobarb" -hdr "Select: EXACT"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -378,7 +386,8 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Word: bar"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......@@ -198,22 +198,26 @@ logexpect l1 -v v1 -d 0 -g vxid -q "VCL_Error" {
client c1 {
txreq -hdr "Sub: sub"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Sub-False: sub-false"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Suball: suball"
expect_close
rxresp
expect resp.status == 500
} -run
client c1 {
txreq -hdr "Element: oof"
expect_close
rxresp
expect resp.status == 500
} -run
logexpect l1 -wait
......
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