pgsql: Increase deadlock_timeout to 100ms in FK isolation tests

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Increase deadlock_timeout to 100ms in FK isolation tests
Date: 2011-07-19 18:37:23
Message-ID: E1QjFAZ-0001ar-7s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Increase deadlock_timeout to 100ms in FK isolation tests

The previous value of 20ms is dangerously close to the time actually
spent just waiting for the deadlock to happen, so on occasion it causes
the test to fail simply because the other session didn't get to run
early enough, not managing to cause the deadlock that needs to be
detected. With this new value, it's expected that most machines on
normal load will be able to pass the test.

Author: Noah Misch

Branch
------
master

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

Modified Files
--------------
src/test/isolation/specs/fk-deadlock.spec | 2 +-
src/test/isolation/specs/fk-deadlock2.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-07-19 19:49:26 Re: [COMMITTERS] pgsql: Remove O(N^2) performance issue with multiple SAVEPOINTs.
Previous Message Alvaro Herrera 2011-07-19 16:58:44 pgsql: Add expected regress output on stricter isolation levels