<div dir="ltr">Hi Kacper,<div><br></div><div>In Varnishtest, a server or client is always handling a single connection (albeit for the server it's possible to do a new 'accept' statement, the client doesn't have anything similar). Since your test case fails on the client, and Varnish always closes on the client when going through vcl_error, it's not possible to reuse the same connection for the two tests.</div>
<div><br></div><div>So you'll need to write the client parts of the tests like this:</div><div><div>client c1 {</div><div>       txreq -url /low</div><div>       rxresp</div><div>       expect resp.status == 503</div>
<div>} -run</div><div><br></div><div>client c1 {</div><div>       txreq -url /high</div><div>       rxresp</div><div>       expect resp.status == 503</div><div>} -run</div></div><div><br></div><div>Martin</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 11 October 2013 20:38, Kacper Wysocki <span dir="ltr"><<a href="mailto:kacperw@gmail.com" target="_blank">kacperw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hia all,<div>this is a backport of out-of-range backend status codes handling to varnish-3.0.4. </div><div><br></div><div>Martin mentioned maybe that fix needed backporting, and I couldn't wait.</div><div>


Still can't get the test to pass, but if I break the two requests into two tests, they pass. A case of the noobs?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- <br><a href="http://u.delta9.pl" target="_blank">http://u.delta9.pl</a><br>


Too much order is its own chaos.<br>Employ no technique to gain supreme enlightment.<br><br>
</div></font></span></div>
<br>_______________________________________________<br>
varnish-dev mailing list<br>
<a href="mailto:varnish-dev@varnish-cache.org">varnish-dev@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>
<div><table border="0" cellpadding="0" cellspacing="0" style="font-size:12px;line-height:1.5em;font-family:'Helvetica Neue',Arial,sans-serif;color:rgb(102,102,102);width:550px;border-top-width:1px;border-top-style:solid;border-top-color:rgb(238,238,238);border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);margin-top:20px;padding-top:5px;padding-bottom:5px">
<tbody><tr><td width="100"><a href="http://varnish-software.com" target="_blank"><img src="http://www.varnish-software.com/static/media/logo-email.png"></a><span></span><span></span></td><td><strong style="font-size:14px;color:rgb(34,34,34)">Martin Blix Grydeland</strong><br>
Senior Developer | Varnish Software AS<br>Cell: +47 21 98 92 60<br><span style="font-weight:bold">We Make Websites Fly!</span></td></tr></tbody></table></div>
</div>