blockjob: strengthen a bit test-blockjob-txn
commit7e74a73499059263212048ad989facae5500d230
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 May 2017 14:13:08 +0000 (8 16:13 +0200)
committerJeff Cody <jcody@redhat.com>
Wed, 24 May 2017 20:38:51 +0000 (24 16:38 -0400)
tree767368cdbaf1eda486893d987c6923ceebe0bb93
parentc8ab5c2dde2d9321552830350e60c83a059486d7
blockjob: strengthen a bit test-blockjob-txn

Unlike test-blockjob-txn, QMP releases the reference to the transaction
before the jobs finish.  Thus, qemu-iotest 124 showed a failure while
working on the next patch that the unit tests did not have.  Make
the test a little nastier.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20170508141310.8674-10-pbonzini@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
tests/test-blockjob-txn.c