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 14:09:58 +0000 (17:09 +0300)
commitaf35737313f92fcbe227baf51bb69b8650acc41a
tree573432ad01cec69d61016829617a0f57ffb0d112
parent62fd1afc55368a2d4a15b60cda80bb5b1c594abc
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]