]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: fix race in 030
authorJohn Snow <jsnow@redhat.com>
Wed, 11 Nov 2015 20:27:36 +0000 (15:27 -0500)
committerKevin Wolf <kwolf@redhat.com>
Wed, 18 Nov 2015 14:54:15 +0000 (15:54 +0100)
commit01809194a06d8e6c51c3e69600f14355225f4855
treeea525724828c8274337b6df26aa5ed5828bbf208
parenta184e74f24f83935c8fc7cd76c06ad0717f89fdb
iotests: fix race in 030

the stop_test case tests that we can resume a block-stream
command after it has stopped/paused due to error. We cannot
always reliably query it before it finishes after resume, though,
so make this a conditional.

The important thing is that we are still testing that it has stopped,
and that it finishes successfully after we send a resume command.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/030