[master] 6c8340126 Momentarily revert "For e29.vtc, also execute a reasonably complex regex match"

Nils Goroll nils.goroll at uplex.de
Thu Dec 21 16:18:10 UTC 2023


commit 6c83401261df3365a2b55195e6c9ecf94c72dc35
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Dec 21 17:14:20 2023 +0100

    Momentarily revert "For e29.vtc, also execute a reasonably complex regex match"
    
    This reverts commit 2cae35978727b706a02b77fce0c82e2863649687.
    
    See #4033

diff --git a/bin/varnishtest/tests/e00029.vtc b/bin/varnishtest/tests/e00029.vtc
index 40b266dfe..556c05cca 100644
--- a/bin/varnishtest/tests/e00029.vtc
+++ b/bin/varnishtest/tests/e00029.vtc
@@ -17,11 +17,6 @@ server s1 {
 } -start
 
 varnish v1 -arg "-p feature=+esi_include_onerror" -vcl+backend {
-	sub vcl_deliver {
-		# ref r01576.vtc
-		set resp.http.torture =
-		   req.url + "${string,repeat,128,AB}" ~ "^/(A{1,2}B)+$";
-	}
 	sub vcl_backend_response {
 		set beresp.do_esi = true;
 		set beresp.do_gzip = true;
@@ -29,7 +24,6 @@ varnish v1 -arg "-p feature=+esi_include_onerror" -vcl+backend {
 } -start
 
 logexpect l1 -v v1 -g raw {
-	fail add * VCL_Error {Regexp matching failed}
 	expect * * VCL_Error {^ESI depth limit reached}
 	expect 0 = VCL_Error {^ESI depth limit reached}
 	expect * * VCL_Error {^ESI depth limit reached}
@@ -37,13 +31,11 @@ logexpect l1 -v v1 -g raw {
 	expect * * VCL_Error {^ESI depth limit reached}
 	expect 0 = VCL_Error {^ESI depth limit reached}
 	#... more
-	fail clear
 } -start
 
 client c1 {
 	txreq -hdr "Host: foo" -hdr "Accept-Encoding: gzip"
 	rxresp
-	expect resp.status == 200
 } -run
 
 logexpect l1 -wait
\ No newline at end of file


More information about the varnish-commit mailing list