Adding -b (buffer size) parameter to varnishtest

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


Hi,

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.

[1] https://www.varnish-cache.org/trac/changeset/9511eefcdafea9a6c87f83a46d5e2b1d41c1c2c9

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-buffer-size.patch
Type: application/octet-stream
Size: 1932 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20150910/16dac0a1/attachment.obj>
-------------- next part --------------


Best,

--
Carlos Abalde



More information about the varnish-dev mailing list