pgsql: Increase deadlock_timeout to 100ms in FK isolation tests - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Increase deadlock_timeout to 100ms in FK isolation tests
Date
Msg-id E1QjFAZ-0001ar-7s@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Add expected regress output on stricter isolation levels
Next
From: Robert Haas
Date:
Subject: pgsql: Minor improvement to pg_seclabel documentation.