pgsql: Fix isolation test to be less timing-dependent

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix isolation test to be less timing-dependent
Дата
Msg-id E1eWkfR-0007wz-2N@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix isolation test to be less timing-dependent

I did this by adding another locking process, which makes the other two
wait.  This way the output should be stable enough.

Per buildfarm and Andres Freund
Discussion: https://postgr.es/m/20180103034445.t3utrtrnrevfsghm@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2268e6afd59649d6bf6d114a19e9c492d59b43fc

Modified Files
--------------
src/test/isolation/expected/multiple-cic.out | 17 +++++++++++------
src/test/isolation/specs/multiple-cic.spec   | 12 ++++++++----
2 files changed, 19 insertions(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgsql: Fix deadlock hazard in CREATE INDEX CONCURRENTLY