Re: random isolation test failures - Mailing list pgsql-hackers

From Noah Misch
Subject Re: random isolation test failures
Date
Msg-id 20110927005740.GA17938@tornado.leadboat.com
Whole thread Raw
In response to Re: random isolation test failures  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: random isolation test failures
List pgsql-hackers
On Mon, Sep 26, 2011 at 01:10:27PM -0400, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > We are seeing numerous occasional buildfarm failures of the fk-deadlock2
> > isolation test,
>
> Yeah, I complained about this already, but Kevin disclaims all
> responsibility for the fk isolation tests.  It looks like Alvaro
> and Noah Misch are the people to be harassing.

Yep; I took advantage of Kevin's test harness for some unrelated tests.

These sporadic failures happen whenever the test case takes longer than
deadlock_timeout (currently 100ms for these tests) to setup the deadlock.  I
outlined some mitigating strategies here:
http://archives.postgresql.org/message-id/20110727171438.GE18910@tornado.leadboat.com

I'd vote for #1: let's double the deadlock_timeout until the failures stop.
Other opinions?

Thanks,
nm

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade automatic testing