Обсуждение: pgsql: Add some isolation tests for deadlock detection and resolution.

Поиск
Список
Период
Сортировка

pgsql: Add some isolation tests for deadlock detection and resolution.

От
Robert Haas
Дата:
Add some isolation tests for deadlock detection and resolution.

Previously, we had no test coverage for the deadlock detector.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4c9864b9b4d87d02f07f40bb27976da737afdcab

Modified Files
--------------
src/test/isolation/expected/deadlock-hard.out   | 35 +++++++++++++
src/test/isolation/expected/deadlock-simple.out | 11 ++++
src/test/isolation/expected/deadlock-soft-2.out | 17 ++++++
src/test/isolation/expected/deadlock-soft.out   | 17 ++++++
src/test/isolation/isolation_schedule           |  4 ++
src/test/isolation/specs/deadlock-hard.spec     | 70 +++++++++++++++++++++++++
src/test/isolation/specs/deadlock-simple.spec   | 29 ++++++++++
src/test/isolation/specs/deadlock-soft-2.spec   | 38 ++++++++++++++
src/test/isolation/specs/deadlock-soft.spec     | 40 ++++++++++++++
9 files changed, 261 insertions(+)


Re: pgsql: Add some isolation tests for deadlock detection and resolution.

От
Tom Lane
Дата:
Robert Haas <rhaas@postgresql.org> writes:
> Add some isolation tests for deadlock detection and resolution.

Buildfarm says this needs work ...

dromedary is one of mine, do you need me to look into what is
happening?

            regards, tom lane