On 3/7/06, Vlad Seryakov <[EMAIL PROTECTED]> wrote:
> Update of /cvsroot/naviserver/naviserver/tests
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17927/tests
>
> Modified Files:
>         http.test
> Log Message:
> More experiments in attempt to narrow down spooler bug
>
>
> Index: http.test
> ===================================================================
> RCS file: /cvsroot/naviserver/naviserver/tests/http.test,v
> retrieving revision 1.6
> retrieving revision 1.7
> diff -C2 -d -r1.6 -r1.7
> *** http.test   3 Mar 2006 02:04:50 -0000       1.6
> --- http.test   7 Mar 2006 19:37:00 -0000       1.7
> ***************
> *** 163,170 ****
>       }
>   } -body {
> !     nstest_http -http 1.1 -getbody 1 PUT /put [string repeat x 1000000]
>   } -cleanup {
>       ns_unregister_proc PUT /put
> ! } -result [list 200 [string repeat x 1000000]]
>
>   ns_log warning ---> about to run http-4.6
> --- 163,170 ----
>       }
>   } -body {
> !     nstest_http -http 1.1 -getbody 1 PUT /put [string repeat x 10000]
>   } -cleanup {
>       ns_unregister_proc PUT /put
> ! } -result [list 200 [string repeat x 10000]]
>
>   ns_log warning ---> about to run http-4.6


Test http-4.5 sends the most data possible, without actually going
over the maxinput which is set in the config file as 1000001.  The
following test, http-4.6 sends 1000002 bytes.

I'm guessing here you dropped it to 10000 bytes to make testing with
Ns_Log statements easier.  But don't forget to also drop the maxinput
limit and test http-4.6.

Not sure what we can reasonably lower this to.  It needs to be large
enough not to interfere with other tests, and also to completely fill
any internal buffers and run through any loops at least once,
readahead limits etc.

Reply via email to