pgsql: Further tweaking of deadlock isolation tests. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Further tweaking of deadlock isolation tests.
Date
Msg-id E1aU5Ey-0002oe-2x@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Refactor check_functional_grouping() to use get_primary_key_attn
Next
From: Robert Haas
Date:
Subject: pgsql: Make builtin lwlock tranche names consistent.