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

Re: (ITS#4839) syncrepl-related tests fail randomly



ando@sys-net.it wrote:
> Full_Name: Pierangelo Masarati
> Version: HEAD
> OS: irrelevant?
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (81.72.89.40)
> Submitted by: ando
> 
> 
> I'm seeing occasional failures of syncrepl-related tests in HEAD.  In case of
> test043, results differend once, but after repeating the test everything went
> smoth.
> 
> In some cases test045 resulted in a core dump:

> In this case, numcsns is 8 because syncprov incorrectly tested for
> BER_BVISEMPTY() instead of BER_BVISNULL when creating the csn array:

Good catch.

> Fixing that still results in a test failure, but without core dump:

> apparently, none of the modifications made it into the consumer.

> After another try, things just go smooth again... keep testing.

We need to change these fixed delays for replication into explicit checks 
like you did for test049. Otherwise it will take too long to loop the tests 
enough times to trigger an error...

-- 
   -- 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/