]> git.proxmox.com Git - mirror_qemu.git/commit
iotests: Fix stuck NBD process on 33
authorEric Blake <eblake@redhat.com>
Mon, 12 Mar 2018 21:11:56 +0000 (16:11 -0500)
committerEric Blake <eblake@redhat.com>
Tue, 13 Mar 2018 20:38:55 +0000 (15:38 -0500)
commit6eba9f01bbfbd92ddd5520be83520df06805dabb
tree3e5d708d75bb4a9fe6f95b4ca88ed5ebb93c18e1
parent026aaf47c02b79036feb830206cfebb2a726510d
iotests: Fix stuck NBD process on 33

Commit afe35cde6 added additional actions to test 33, but forgot
to reset the image between tests.  As a result, './check -nbd 33'
fails because the qemu-nbd process from the first half is still
occupying the port, preventing the second half from starting a
new qemu-nbd process.  Worse, the failure leaves a rogue qemu-nbd
process behind even after the test fails, which causes knock-on
failures to later tests that also want to start qemu-nbd.

Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180312211156.452139-1-eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/033