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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add some isolation tests for deadlock detection and resolution.
Date: 2016-02-11 13:44:36
Message-ID: E1aTrXw-0005kd-Nl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-02-11 14:05:03 pgsql: Rename PGPROC fields related to group XID clearing again.
Previous Message Robert Haas 2016-02-11 13:36:57 pgsql: Modify the isolation tester so that multiple sessions can wait.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-02-11 13:50:41 Re: GinPageIs* don't actually return a boolean
Previous Message Artur Zakirov 2016-02-11 13:43:44 Re: Fuzzy substring searching with the pg_trgm extension