aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2021-01-18 11:57:14 +0100
committerMax Reitz <mreitz@redhat.com>2021-01-26 14:36:37 +0100
commit20e2580eec0f9bb7789fe545a4d57da7ab8c2be8 (patch)
tree131d5b7da280566edfcd055da47c596bfaa433c7 /tests
parentc5ff5a3caa16f18bea05db4e2326e9162e7a0ba9 (diff)
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>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/1292
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qemu-iotests/129 b/tests/qemu-iotests/129
index f57a2e19f6..bd29c54af8 100755
--- a/tests/qemu-iotests/129
+++ b/tests/qemu-iotests/129
@@ -48,6 +48,8 @@ class TestStopWithBlockJob(iotests.QMPTestCase):
result = self.vm.qmp("block_set_io_throttle", conv_keys=False,
**params)
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):
"""Test 'stop' while block job is running on a throttled drive.