[6.0] 456f5546a Simplify r02976.vtc further

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Jul 11 09:35:11 UTC 2019


commit 456f5546a443473fbdf2f2767b8bfdc9dba828de
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Jun 24 14:08:28 2019 +0200

    Simplify r02976.vtc further
    
    This time, once and for all.

diff --git a/bin/varnishtest/tests/r02976.vtc b/bin/varnishtest/tests/r02976.vtc
index 6fbb57e03..f3a7aa2ce 100644
--- a/bin/varnishtest/tests/r02976.vtc
+++ b/bin/varnishtest/tests/r02976.vtc
@@ -27,6 +27,8 @@ server s1 {
 	barrier bprobe sync
 } -start
 
+varnish v1 -cliok {param.set vcc_err_unref off}
+
 varnish v1 -vcl {
 	backend b1 {
 		.host = "${s1_sock}";
@@ -37,12 +39,6 @@ varnish v1 -vcl {
 		.host = "${bad_backend}";
 		.probe = { .interval = 24h; }
 	}
-
-	sub vcl_recv {
-		if (!req.url) {
-			set req.backend_hint = b2;
-		}
-	}
 } -start
 
 barrier bprobe sync


More information about the varnish-commit mailing list