[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5409) paged results invalid sizelimit error



when connection pooling is off:

if page size = 1000
     test 1 failed at the second iteration
     test 2 failed at the third iteration

if page size = 999
     test 1 always works
     test 2 failed at the second iteration


I have not tried other tests where expected result is other number.  


phoebe



----- "Howard Chu" <hyc@symas.com> wrote:

> pshao@zimbra.com wrote:
> > ------=_Part_3887_1760018525.1205731478084 Content-Type:
> text/plain;
> > charset=utf-8 Content-Transfer-Encoding: 7bit
> >
> >
> > I did more testing and found there is more to the bug, page size is
> not the
> > only factor.  The number of results in the next search also
> matters.
> > However, in all cases, if JNDI connection pooling is disabled, then
> it
> > always works.
> >
> > Test description:
> >
> > create 10000 account: user-1 to user-10000 search size limit = 5000
> >
> > test 1: step 1. search with filter (uid=*user*): expect
> > SizeLimitExceededException step 2. search with filter
> (uid=*user-9999*):
> > expect 1 entry
> >
> > test 2: step 1. search with filter (uid=*user*): expect
> > SizeLimitExceededException step 2. search with filter
> (uid=*user-10*):
> > expect 112 entries
> 
> Please be more descriptive, re: intermittent failure - how many
> iterations of
> a test a required (on average) before the problem shows up?
> 
> -- 
>    -- Howard Chu
>    Chief Architect, Symas Corp.  http://www.symas.com
>    Director, Highland Sun        http://highlandsun.com/hyc/
>    Chief Architect, OpenLDAP     http://www.openldap.org/project/