[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 04/10] iotests/129: Remove test images in tearDown()
From: |
Max Reitz |
Subject: |
[PATCH v4 04/10] iotests/129: Remove test images in tearDown() |
Date: |
Fri, 15 Jan 2021 18:43:09 +0100 |
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>
---
tests/qemu-iotests/129 | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/qemu-iotests/129 b/tests/qemu-iotests/129
index 0e13244d85..2fc65ada6a 100755
--- a/tests/qemu-iotests/129
+++ b/tests/qemu-iotests/129
@@ -47,6 +47,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.
--
2.29.2
- [PATCH v4 00/10] iotests: Fix 129 and expand 297’s reach, Max Reitz, 2021/01/15
- [PATCH v4 01/10] iotests.py: Assume a couple of variables as given, Max Reitz, 2021/01/15
- [PATCH v4 02/10] iotests/297: Rewrite in Python and extend reach, Max Reitz, 2021/01/15
- [PATCH v4 03/10] iotests: Move try_remove to iotests.py, Max Reitz, 2021/01/15
- [PATCH v4 04/10] iotests/129: Remove test images in tearDown(),
Max Reitz <=
- [PATCH v4 07/10] iotests/129: Actually test a commit job, Max Reitz, 2021/01/15
- [PATCH v4 09/10] iotests/129: Clean up pylint and mypy complaints, Max Reitz, 2021/01/15
- [PATCH v4 05/10] iotests/129: Do not check @busy, Max Reitz, 2021/01/15
- [PATCH v4 06/10] iotests/129: Use throttle node, Max Reitz, 2021/01/15
- [PATCH v4 10/10] iotests/300: Clean up pylint and mypy complaints, Max Reitz, 2021/01/15
- [PATCH v4 08/10] iotests/129: Limit mirror job's buffer size, Max Reitz, 2021/01/15