[master] ab5c3ad Remove duplicated test

Federico G. Schwindt fgsch at lodoss.net
Tue May 30 22:37:05 CEST 2017


commit ab5c3adf6de8d94893cee87723dcd4663ffc74ff
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Tue May 30 21:36:28 2017 +0100

    Remove duplicated test
    
    c00037.vtc already tests hash_always_miss.

diff --git a/bin/varnishtest/tests/c00042.vtc b/bin/varnishtest/tests/c00042.vtc
deleted file mode 100644
index 390f574..0000000
--- a/bin/varnishtest/tests/c00042.vtc
+++ /dev/null
@@ -1,42 +0,0 @@
-varnishtest "using req.hash_always_miss to force fetch"
-
-server s1 {
-	rxreq
-	expect req.url == "/1"
-	txresp -bodylen 1
-	rxreq
-	expect req.url == "/1"
-	txresp -bodylen 2
-
-} -start
-
-varnish v1 -vcl+backend {
-	sub vcl_recv {
-		if (req.http.short) {
-			set req.hash_always_miss = true;
-		}
-	}
-} -start
-
-client c1 {
-	txreq -url "/1"
-	rxresp
-	expect resp.status == 200
-	expect resp.bodylen == 1
-
-	txreq -url "/1"
-	rxresp
-	expect resp.status == 200
-	expect resp.bodylen == 1
-
-	txreq -url "/1" -hdr "short: yes"
-	rxresp
-	expect resp.status == 200
-	expect resp.bodylen == 2
-
-	txreq -url "/1"
-	rxresp
-	expect resp.status == 200
-	expect resp.bodylen == 2
-
-} -run



More information about the varnish-commit mailing list