Thread: pgsql: Increase deadlock_timeout to 100ms in FK isolation tests

pgsql: Increase deadlock_timeout to 100ms in FK isolation tests

From
Alvaro Herrera
Date:
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(-)