]> git.proxmox.com Git - mirror_qemu.git/commit
iotests/030: Reduce run time by unthrottling job earlier
authorKevin Wolf <kwolf@redhat.com>
Wed, 13 May 2020 10:00:25 +0000 (12:00 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 18 May 2020 17:05:25 +0000 (19:05 +0200)
commitb1b30ff4df942ef75abb3799889ab2f4c52155e9
tree1da13c61183f6f69cab16b5f2e961507fff4e433
parentc5f12a80c6472bc158e5092c731bbc7affaca2e5
iotests/030: Reduce run time by unthrottling job earlier

test_overlapping_3() throttles its active commit job so it can be sure
the job is still busy when it checks that you can't start a conflicting
streaming job.

However, it only sets the commit job back to full speed when it is
ready, which takes a few seconds while it's throttled. We can already
reset the limit after having checked that block-stream returns an error
and save these seconds.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200513100025.33543-1-kwolf@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/030