]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: Add test for cancelling a mirror job
authorMax Reitz <mreitz@redhat.com>
Tue, 1 May 2018 22:05:09 +0000 (00:05 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 11 Jul 2018 16:48:21 +0000 (11:48 -0500)
commit7bc615f88f215cc923d4d23928118e62f008b152
treedd4075967f7c3cd9a4e8cd6d110844a15cbc4cfe
parent1eddfab31cf9cf81d4527ea42cb7fd371cabbb60
iotests: Add test for cancelling a mirror job

We already have an extensive mirror test (041) which does cover
cancelling a mirror job, especially after it has emitted the READY
event.  However, it does not check what exact events are emitted after
block-job-cancel is executed.  More importantly, it does not use
throttling to ensure that it covers the case of block-job-cancel before
READY.

It would be possible to add this case to 041, but considering it is
already our largest test file, it makes sense to create a new file for
these cases.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20180501220509.14152-3-mreitz@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
(cherry picked from commit dc885fff972c447f51572afc4c921a26b880731b)
 Conflicts:
tests/qemu-iotests/group
* fix minor conflicts with test groups
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tests/qemu-iotests/218 [new file with mode: 0644]
tests/qemu-iotests/218.out [new file with mode: 0644]
tests/qemu-iotests/group