[master] 66b27ae19 even more s00010.vtc tweaking

Dridi Boukelmoune dridi at varni.sh
Thu Jan 16 12:27:55 UTC 2020


On Thu, Jan 16, 2020 at 12:23 PM Nils Goroll <nils.goroll at uplex.de> wrote:
>
>
> commit 66b27ae191bd16392e24240f4668e31e192b90e6
> Author: Nils Goroll <nils.goroll at uplex.de>
> Date:   Thu Jan 16 13:21:26 2020 +0100
>
>     even more s00010.vtc tweaking
>
>     Furhter lighten the load for the test to succeed on FreeBSD vtest,
>     hopefully.
>
>     Also, when stars align, we do not git the busy object (streaming) and do
>     not see chunked encoding.
>
> diff --git a/bin/varnishtest/tests/s00010.vtc b/bin/varnishtest/tests/s00010.vtc
> index 1e6297657..53e93cc07 100644
> --- a/bin/varnishtest/tests/s00010.vtc
> +++ b/bin/varnishtest/tests/s00010.vtc
> @@ -12,7 +12,7 @@ server s1 -repeat 2 {
>         fatal
>         rxreq
>         txresp -nolen -hdr "Transfer-encoding: chunked"
> -       chunkedlen 100000
> +       chunkedlen 65536
>         # make sure varnish is stuck in delivery
>         barrier b1 sync
>         non_fatal
> @@ -76,7 +76,7 @@ client c2 -rcvbuf 256 {
>         rxresphdrs
>         delay 0.8
>         rxrespbody
> -       expect resp.bodylen == 100000
> +       expect resp.bodylen == 65536

I'm not available to look after that today but in my latest iteration
on s10 stabilization I made sure _not_ to receive the response body,
allowing the test case to move on as soon as the log statement was
witnessed.

Dridi

>  } -start
>
>  logexpect l0 -wait
> @@ -99,15 +99,17 @@ logexpect l2 -v v1 -g raw {
>  } -start
>
>
> -logexpect l3 -v v1 -q "ReqURL ~ \"^/$\"" {
> +logexpect l3 -v v1 -X RespHeader:Transfer-Encoding \
> +    -q "ReqURL ~ \"^/$\"" {
>         expect * * ReqURL       "^/$"
> -       expect * = RespHeader   "^Transfer-Encoding"
> +       expect * = RespHeader   "^Connection"
>         expect 0 = Debug        "^Hit idle send timeout"
>  } -start
>
> -logexpect l4 -v v1 -q "ReqURL ~ \"^/longidlesend$\"" {
> +logexpect l4 -v v1 -X RespHeader:Transfer-Encoding \
> +    -q "ReqURL ~ \"^/longidlesend$\"" {
>         expect * * ReqURL       "^/longidlesend$"
> -       expect * = RespHeader   "^Transfer-Encoding"
> +       expect * = RespHeader   "^Connection"
>         # no Hit idle send ...
>         expect 0 = Timestamp    "^Resp"
>  } -start
> @@ -119,7 +121,7 @@ client c3 -rcvbuf 256 {
>         rxresphdrs
>         delay 1.8
>         rxrespbody
> -       expect resp.bodylen == 100000
> +       expect resp.bodylen == 65536
>  } -start
>
>  logexpect l2 -wait
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit


More information about the varnish-commit mailing list