pgsql: Add an SSI regression test that tests all interesting permutatio

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add an SSI regression test that tests all interesting permutatio
Date: 2011-08-18 13:57:56
Message-ID: E1Qu36a-0000By-LH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add an SSI regression test that tests all interesting permutations in the
order of begin, prepare, and commit of three concurrent transactions that
have conflicts between them.

The test runs for a quite long time, and the expected output file is huge,
but this test caught some serious bugs during development, so seems
worthwhile to keep. The test uses prepared transactions, so it fails if the
server has max_prepared_transactions=0. Because of that, it's marked as
"ignore" in the schedule file.

Dan Ports

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b9585e8f983863fc7e1e147f503091a5f82d6ccf

Modified Files
--------------
.../isolation/expected/prepared-transactions.out |34843 ++++++++++++++++++++
src/test/isolation/isolation_schedule | 5 +
src/test/isolation/isolationtester.c | 12 +-
.../isolation/specs/prepared-transactions.spec | 1507 +
4 files changed, 36365 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-08-18 14:05:14 pgsql: Make lazy_vacuum_rel call pg_rusage_init only if needed.
Previous Message Robert Haas 2011-08-18 13:50:53 pgsql: Remove obsolete README file.