[Varnish] #1347: varnishtest: cache_hitpass counter does not counting hit_for_pass
Varnish
varnish-bugs at varnish-cache.org
Mon Sep 23 12:48:17 CEST 2013
#1347: varnishtest: cache_hitpass counter does not counting hit_for_pass
-------------------+-------------------------
Reporter: lo | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishtest
Version: 3.0.4 | Severity: normal
Keywords: |
-------------------+-------------------------
{{{
varnishtest "Hit for pass counter"
server s1 {
rxreq
txresp
} -start
varnish v1 -vcl+backend {
sub vcl_fetch {
return(hit_for_pass);
}
} -start
client c1 {
txreq -url "/"
rxresp
} -run
varnish v1 -expect cache_hitpass == 1
}}}
Results in:
{{{
---- v1 1.4 Not true: cache_hitpass (0) == 1 (1)
}}}
This is Varnish compiled from git tag varnish-3.0.4 running on Debian
Wheezy.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1347>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list