]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/group
iotests: Add test for cancelling a mirror job
authorMax Reitz <mreitz@redhat.com>
Tue, 1 May 2018 22:05:09 +0000 (00:05 +0200)
committerJeff Cody <jcody@redhat.com>
Tue, 8 May 2018 14:47:27 +0000 (10:47 -0400)
commitdc885fff972c447f51572afc4c921a26b880731b
tree5f45c2e31f2afcf11e00264280e559d75a0102bf
parenteb36639f7bbc16055e551593b81365e8ae3b0b05
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>
tests/qemu-iotests/218 [new file with mode: 0644]
tests/qemu-iotests/218.out [new file with mode: 0644]
tests/qemu-iotests/group