]> granicus.if.org Git - postgresql/commit
Add an SSI regression test that tests all interesting permutations in the
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Aug 2011 10:36:37 +0000 (13:36 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 18 Aug 2011 13:41:52 +0000 (16:41 +0300)
commitb9585e8f983863fc7e1e147f503091a5f82d6ccf
tree7654d3ee55aeabe0609eaeb5d0ade9b6847aaa9d
parent89c096c56542cdd7355925f826b3c67dc5265155
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
src/test/isolation/expected/prepared-transactions.out [new file with mode: 0644]
src/test/isolation/isolation_schedule
src/test/isolation/isolationtester.c
src/test/isolation/specs/prepared-transactions.spec [new file with mode: 0644]