On Thu, Jan 14, 2021 at 10:35:27AM +0100, William Dauchy wrote: > On Wed, Jan 13, 2021 at 1:22 PM William Lallemand > <[email protected]> wrote: > > Thanks to both of you! merged in master. > > a side note: yesterday evening I wanted to have a look at a reg-test > in order to prevent it in the future, but it looks like `-expectexit` > from haproxy varnishtest is not really designed for that. I manage to > detect it if I put another command after haproxy which triggers the > `wait4` at some point but it is really ugly. > So I believe this would require a patch on varnishtest side first if > we want to have a reg-tests on this.
VTest is not really suited to test the process management, for example the tests doing a reload have timing issues because VTest is not able to know when HAProxy is ready. Could you share what you tried to do? I'm not sure what is the problem you are mentionning with -expectexit. Thanks -- William Lallemand

