aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-06-05 18:54:05 +0300
committerMax Reitz <mreitz@redhat.com>2019-06-14 14:16:57 +0200
commit549fb88045253cb246f900a9db447800313865c4 (patch)
treed55970e0b140d315a6eb583d7fe7a429892db5e0 /tests
parent6653d1318d623681fc7e849e9ae5069ad144864a (diff)
iotests: restrict 254 to support only qcow2
Test fails at least for qcow, because of different cluster sizes in base and top (and therefore different granularities of bitmaps we are trying to merge). The test aim is to check block-dirty-bitmap-merge between different nodes functionality, no needs to check all formats. So, let's just drop support for anything except qcow2. Reported-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190605155405.104384-1-vsementsov@virtuozzo.com Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/2542
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qemu-iotests/254 b/tests/qemu-iotests/254
index 33cb80a512..8edba91c5d 100755
--- a/tests/qemu-iotests/254
+++ b/tests/qemu-iotests/254
@@ -21,6 +21,8 @@
import iotests
from iotests import qemu_img_create, file_path, log
+iotests.verify_image_format(supported_fmts=['qcow2'])
+
disk, top = file_path('disk', 'top')
size = 1024 * 1024