iotests: 124 - transactional failure test
commitfc6c796ff2b049303473702d1ade9196d1843f5d
authorJohn Snow <jsnow@redhat.com>
Thu, 5 Nov 2015 23:13:19 +0000 (5 18:13 -0500)
committerKevin Wolf <kwolf@redhat.com>
Thu, 12 Nov 2015 15:22:44 +0000 (12 16:22 +0100)
tree3618353baa9923cc2b7f08410728504b72fc851a
parent94d16a640a1058653327392e08c6d39eeba1e499
iotests: 124 - transactional failure test

Use a transaction to request an incremental backup across two drives.
Coerce one of the jobs to fail, and then re-run the transaction.

Verify that no bitmap data was lost due to the partial transaction
failure.

To support the 'err-cancel' QMP argument name it's necessary for
transaction_action() to convert underscores in Python argument names
to hyphens for QMP argument names.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1446765200-3054-14-git-send-email-jsnow@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/124
tests/qemu-iotests/124.out