Adding -b (buffer size) parameter to varnishtest

Carlos Abalde carlos.abalde at
Thu Sep 10 13:26:28 CEST 2015


When implementing in VCL complex logic (not necessarily related with caching contents -e.g. access control, rate limiting, etc.-) varnishtest is a powerful tool to automate VCL testing. These type of tests sometimes are complex and they are not easy to split in smaller pieces.

In some extreme cases, the varnishlog buffer space allocated by varnishtest is not enough when testing complex VCL logic including a lot of logging. The size of that buffer is currently hard coded and it has been increased in the past [1]. This trivial patch allows selecting the size of that buffer in the command line.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-buffer-size.patch
Type: application/octet-stream
Size: 1932 bytes
Desc: not available
URL: <>
-------------- next part --------------


Carlos Abalde

More information about the varnish-dev mailing list