pgsql: Set different deadlock_timeout on each session in new isolation

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Set different deadlock_timeout on each session in new isolation
Date: 2011-07-15 22:48:25
Message-ID: E1QhrBJ-0005mV-GA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Set different deadlock_timeout on each session in new isolation tests

This provides deterministic deadlock-detection ordering for new
isolation tests, fixing the sporadic failures in them.

Author: Noah Misch

Branch
------
master

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

Modified Files
--------------
src/test/isolation/expected/fk-deadlock.out | 4 ++--
src/test/isolation/expected/fk-deadlock2.out | 8 ++++----
src/test/isolation/specs/fk-deadlock.spec | 4 ++--
src/test/isolation/specs/fk-deadlock2.spec | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2011-07-16 18:04:02 pgsql: Fix SSPI login when multiple roundtrips are required
Previous Message Peter Eisentraut 2011-07-15 18:12:49 pgsql: Set information_schema.tables.commit_action to null