pgsql: Further tweaking of deadlock isolation tests.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Further tweaking of deadlock isolation tests.
Date: 2016-02-12 04:21:56
Message-ID: E1aU5Ey-0002oe-2x@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Further tweaking of deadlock isolation tests.

The new deadlock-soft-2 test has a timing dependency too: it supposes
that isolationtester will detect step s1b as waiting before the deadlock
detector runs and grants it the lock. Adjust deadlock_timeout to ensure
that that's true even in CLOBBER_CACHE_ALWAYS builds, where the wait
detection query is quite slow. Per buildfarm member jaguarundi.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/caefc11ef6613683ddf8ded2081da3db238f463e

Modified Files
--------------
src/test/isolation/specs/deadlock-soft-2.spec | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-02-12 04:34:14 Re: Re: [COMMITTERS] pgsql: Add some isolation tests for deadlock detection and resolution.
Previous Message Tom Lane 2016-02-11 22:52:11 pgsql: Refactor check_functional_grouping() to use get_primary_key_attn