pgsql: Increase deadlock_timeout to 100ms in FK isolation tests

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Increase deadlock_timeout to 100ms in FK isolation tests
Дата
Msg-id E1QjFAZ-0001ar-7s@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Add expected regress output on stricter isolation levels
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Minor improvement to pg_seclabel documentation.