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>
This commit is contained in:
Max Reitz 2018-05-02 00:05:09 +02:00 committed by Jeff Cody
parent eb36639f7b
commit dc885fff97
3 changed files with 169 additions and 0 deletions

View file

@ -212,3 +212,4 @@
211 rw auto quick
212 rw auto quick
213 rw auto quick
218 rw auto quick