iotests: Let complete_and_wait() work with commit
commitc682bf18c92d3c8b91cc81287954896f226800e1
authorMax Reitz <mreitz@redhat.com>
Tue, 11 Jun 2019 19:04:49 +0000 (11 21:04 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
tree037194eed42865fbb27b6428ea4ae7d6ec65201f
parentc365625b0a7b44ad48dc9ab01605857c8d4cf2c3
iotests: Let complete_and_wait() work with commit

complete_and_wait() and wait_ready() currently only work for mirror
jobs.  Let them work for active commit jobs, too.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py