mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
iotests/129: Remove test images in tearDown()
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Willian Rampazzo <willianr@redhat.com> Message-Id: <20210118105720.14824-5-mreitz@redhat.com>
This commit is contained in:
parent
c5ff5a3caa
commit
20e2580eec
@ -48,6 +48,8 @@ class TestStopWithBlockJob(iotests.QMPTestCase):
|
|||||||
result = self.vm.qmp("block_set_io_throttle", conv_keys=False,
|
result = self.vm.qmp("block_set_io_throttle", conv_keys=False,
|
||||||
**params)
|
**params)
|
||||||
self.vm.shutdown()
|
self.vm.shutdown()
|
||||||
|
for img in (self.test_img, self.target_img, self.base_img):
|
||||||
|
iotests.try_remove(img)
|
||||||
|
|
||||||
def do_test_stop(self, cmd, **args):
|
def do_test_stop(self, cmd, **args):
|
||||||
"""Test 'stop' while block job is running on a throttled drive.
|
"""Test 'stop' while block job is running on a throttled drive.
|
||||||
|
Loading…
Reference in New Issue
Block a user