Hi Kacper,
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.
So you'll need to write the client parts of the tests like this:
client c1 {
txreq -url /low
rxresp
expect resp.status == 503
} -run
client c1 {
txreq -url /high
rxresp
expect resp.status == 503
} -run
Martin
On 11 October 2013 20:38, Kacper Wysocki <[email protected]> wrote:
> Hia all,
> this is a backport of out-of-range backend status codes handling to
> varnish-3.0.4.
>
> Martin mentioned maybe that fix needed backporting, and I couldn't wait.
> 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?
>
> --
> http://u.delta9.pl
> Too much order is its own chaos.
> Employ no technique to gain supreme enlightment.
>
>
> _______________________________________________
> varnish-dev mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev
>
--
<http://varnish-software.com>*Martin Blix Grydeland*
Senior Developer | Varnish Software AS
Cell: +47 21 98 92 60
We Make Websites Fly!
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev