[6.0] 7bbd6013c Fix the out-of-workspace tests for VMOD blob.
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:19 UTC 2018
commit 7bbd6013c7dbc0177a0ced9588a719e946ac4a0c
Author: Geoff Simmons <geoff at uplex.de>
Date: Wed Jul 18 11:40:25 2018 +0200
Fix the out-of-workspace tests for VMOD blob.
The error may be status 500 on 32-bit systems.
diff --git a/bin/varnishtest/tests/m00049.vtc b/bin/varnishtest/tests/m00049.vtc
index f94f5afc6..81e0ff530 100644
--- a/bin/varnishtest/tests/m00049.vtc
+++ b/bin/varnishtest/tests/m00049.vtc
@@ -39,27 +39,31 @@ varnish v1 -vcl {
client c1 {
txreq -url "/1"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
client c1 {
txreq -url "/2"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
client c1 {
txreq -url "/3"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
client c1 {
txreq -url "/4"
rxresp
- expect resp.status == 503
- expect resp.reason == "VCL failed"
+ expect resp.status >= 500
+ expect resp.status <= 503
+ expect resp.reason ~ {(?i)^VCL Failed$|^Internal Server Error$}
} -run
More information about the varnish-commit
mailing list